summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2009-09-07 11:43:31 +0200
committerEnno Boland (tox) <tox@s01.de>2009-09-07 11:43:31 +0200
commita1b70380dbfc83b2044cad3ce46f68e2878dd976 (patch)
treeca53d38988ca8935f1a9a512ad490bc2bbc25949 /Makefile
parent03f0a3baf5a844dc44aa5c145f1dd5d12c56ad07 (diff)
moving config.h to config.def.h.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6dc19fa..5a98461 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,11 @@ options:
@echo CC $<
@${CC} -c ${CFLAGS} $<
-${OBJ}: config.mk
+${OBJ}: config.h config.mk
+
+config.h:
+ @echo creating $@ from config.def.h
+ @cp config.def.h $@
surf: ${OBJ}
@echo CC -o $@