From bdd8d563ff3f0eec41cc45d07f6c00622a531a72 Mon Sep 17 00:00:00 2001 From: nathansmith117 Date: Tue, 21 May 2024 22:51:55 -0600 Subject: first commit --- swall/Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 swall/Makefile (limited to 'swall/Makefile') diff --git a/swall/Makefile b/swall/Makefile new file mode 100644 index 0000000..9ee927b --- /dev/null +++ b/swall/Makefile @@ -0,0 +1,24 @@ +all: swall scomm +debug: d_swall d_scomm + +swall: swall.c + gcc -o swall swall.c +d_swall: swall.c + gcc -o swall swall.c -g +scomm: scomm.c + gcc -o scomm scomm.c +d_scomm: scomm.c + gcc -o scomm scomm.c -g +install: + sudo cp swall /usr/local/bin/ + sudo cp swall.3 /usr/share/man/man3/swall.3 + sudo cp scomm /usr/local/bin/ + sudo cp scomm.3 /usr/share/man/man3/scomm.3 +uninstall: + sudo rm /usr/local/bin/swall + sudo rm /usr/share/man/man3/swall.3 + sudo rm /usr/local/bin/scomm + sudo rm /usr/share/man/man3/scomm.3 +reinstall: uninstall install +clean: + rm swall scomm -- cgit v1.2.3