From: arg@10ksloc.org Date: Wed, 2 Aug 2006 15:49:21 +0000 (+0200) Subject: implemented the idea presented by Sander for dwm target X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=commitdiff_plain;h=5d3fd3707b262508d1750cf95ac2e2f666be6163 implemented the idea presented by Sander for dwm target --- diff --git a/Makefile b/Makefile index 77f75e6..817c2e1 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,10 @@ options: @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 --git a/README b/README index 07bbd08..5d40d95 100644 --- a/README +++ b/README @@ -13,10 +13,9 @@ Installation 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