aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorthe little girl <bie@blekksprut.net>2013-06-29 08:11:13 +0200
committerthe little girl <bie@blekksprut.net>2013-06-29 08:11:13 +0200
commit1ec38509b329c49476b5f9dfae4e1889899d1d52 (patch)
tree9f2e6e23a99d995290846a3bc29a6241115c6124 /Makefile
parente8a0a3af0bea6729aa7fba6991d9657d808ed38a (diff)
downloadukulele-1ec38509b329c49476b5f9dfae4e1889899d1d52.tar.xz
config.def.h, oppdatert makefile
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
+