aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 65b2c57..fdf45bc 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,9 @@
-wiki.cgi: wiki.c
- ${CC} -std=c11 -Os -o wiki.cgi wiki.c -lmarxup
+wiki.cgi: config.h wiki.c
+ ${CC} -std=c11 -Os -o $@ wiki.c -lmarxup
+
+config.h:
+ cp config.def.h $@
+
+clean:
+ rm wiki.cgi
+