summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-07-17 20:35:23 -0400
committerJakob Kaivo <jkk@ung.org>2019-07-17 20:35:23 -0400
commitd650f4872706bda1bc2921b032d6fce5a3348899 (patch)
tree3235a0045bf741d9d4a213b497ee8b5d386575e7 /Makefile
parentbd1c4f97302de74939861bd1169086ea5720274a (diff)
add makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..dc379d9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+.POSIX:
+
+CFLAGS=-static
+
+all: blog
+
+install: blog
+ strip blog
+ doas cp -f blog /var/www/cgi-bin/blog
+
+clean:
+ rm -f *.o blog