JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
make config.h not a time dependence
[dwm.git] / Makefile
index 5454fbb..b7db7cc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,9 +22,9 @@ options:
 
 ${OBJ}: dwm.h config.h
 
-config.h: ${CONFIG}
-       @echo creating $@ from $>
-       @cp $> $@
+config.h:
+       @echo creating $@ from ${CONFIG}
+       @cp ${CONFIG} $@
 
 dwm: ${OBJ}
        @echo LD $@
@@ -32,7 +32,7 @@ dwm: ${OBJ}
 
 clean:
        @echo cleaning
-       @rm -f dwm ${OBJ} config.h dwm-${VERSION}.tar.gz
+       @rm -f dwm ${OBJ} dwm-${VERSION}.tar.gz
 
 dist: clean
        @echo creating dist tarball