summaryrefslogtreecommitdiff
path: root/scripts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Makefile')
-rw-r--r--scripts/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
new file mode 100644
index 0000000..38cff8e
--- /dev/null
+++ b/scripts/Makefile
@@ -0,0 +1,14 @@
+all: runserver.c runclient.c
+ gcc -O2 -o runserver runserver.c
+ gcc -O2 -o runclient runclient.c
+ gcc -O2 -o rungpg rungpg.c
+ chown root:chrapach runserver runclient rungpg
+ chmod 4710 runserver runclient rungpg
+
+clean:
+ rm -f runserver runclient rungpg test
+
+test: test.c
+ gcc -O2 -o test test.c
+ chown root:chrapach test
+ chmod 4710 test