implemented the idea presented by Sander for dwm target
authorarg@10ksloc.org
Wed, 02 Aug 2006 17:49:21 +0200
changeset 172 af781faa40d6
parent 171 dac0793bf3f7
child 173 1db04019684e
implemented the idea presented by Sander for dwm target
Makefile
README
--- a/Makefile	Wed Aug 02 17:19:22 2006 +0200
+++ b/Makefile	Wed Aug 02 17:49:21 2006 +0200
@@ -21,7 +21,10 @@
 	@echo CC $<
 	@${CC} -c ${CFLAGS} $<
 
-${OBJ}: dwm.h
+${OBJ}: dwm.h config.h
+
+config.h:
+	cp config.default.h config.h
 
 dwm: ${OBJ}
 	@echo LD $@
--- a/README	Wed Aug 02 17:19:22 2006 +0200
+++ b/README	Wed Aug 02 17:49:21 2006 +0200
@@ -13,10 +13,9 @@
 Edit config.mk to match your local setup (dwm is installed into
 the /usr/local namespace by default).
 
-Afterwards enter the following commands to build and install dwm (if
+Afterwards enter the following command to build and install dwm (if
 necessary as root):
 
-    cp config.default.h config.h
     make clean install