# HG changeset patch # User arg@10ksloc.org # Date 1154533761 -7200 # Node ID af781faa40d6b2e9aee17b91e8742083d9a16f71 # Parent dac0793bf3f7c049cd575ff4b4ff40ec57fdf192 implemented the idea presented by Sander for dwm target diff -r dac0793bf3f7 -r af781faa40d6 Makefile --- 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 $@ diff -r dac0793bf3f7 -r af781faa40d6 README --- 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