JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
applied Sanders doc changes, added a PHONY line and changed the output of config...
[dwm.git] / Makefile
index 77f75e6..c2a4563 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,11 @@ options:
        @echo CC $<
        @${CC} -c ${CFLAGS} $<
 
-${OBJ}: dwm.h
+${OBJ}: dwm.h config.h
+
+config.h:
+       @echo missing config.h created
+       @cp config.default.h $@
 
 dwm: ${OBJ}
        @echo LD $@
@@ -58,3 +62,5 @@ uninstall:
        for i in ${MAN1}; do \
                rm -f ${DESTDIR}${MANPREFIX}/man1/`basename $$i`; \
        done
+
+.PHONY: all options clean dist install uninstall