aboutsummaryrefslogtreecommitdiffstats
path: root/swall/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'swall/Makefile')
-rw-r--r--swall/Makefile24
1 files changed, 24 insertions, 0 deletions
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