aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9ae64c5..77bcbc0 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,9 @@ options:
${OBJ}: config.h config.mk
+config.h:
+ cp config.def.h $@
+
dwm: ${OBJ}
${CC} -o $@ ${OBJ} ${LDFLAGS}
@@ -27,7 +30,7 @@ clean:
dist: clean
mkdir -p dwm-${VERSION}
- cp -R LICENSE Makefile README config.mk\
+ cp -R LICENSE Makefile README config.def.h config.mk\
dwm.1 drw.h util.h ${SRC} dwm.png transient.c dwm-${VERSION}
tar -cf dwm-${VERSION}.tar dwm-${VERSION}
gzip dwm-${VERSION}.tar