summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f011ad7..0f7dfbd 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,11 @@ options:
@echo CC -c $<
@${CC} -c $< ${CFLAGS}
-${OBJ}: config.mk draw.h
+config.h:
+ @echo creating $@ from config.def.h
+ @cp config.def.h $@
+
+${OBJ}: config.h config.mk draw.h
dmenu: dmenu.o draw.o
@echo CC -o $@