aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnselm R Garbe <anselm@garbe.us>2013-04-17 21:04:05 +0200
committerAnselm R Garbe <anselm@garbe.us>2013-04-17 21:04:05 +0200
commit14f72a276334de4a46543cf648a4922bc54f1e9f (patch)
tree98cc875199829687476b1a05458f811f4805941a /Makefile
parentec64f273fb7660d3746eb765dc02e40726a54294 (diff)
downloaddmenu-14f72a276334de4a46543cf648a4922bc54f1e9f.tar.gz
dmenu-14f72a276334de4a46543cf648a4922bc54f1e9f.tar.bz2
dmenu-14f72a276334de4a46543cf648a4922bc54f1e9f.zip
adopted Alex Sedov's config.h revival patch to tip
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 $@