implemented the idea presented by Sander for dwm target

new_dwm
arg@10ksloc.org 19 years ago
parent 1bf0c4a8e7
commit 5d3fd3707b

@ -21,7 +21,10 @@ options:
@echo CC $< @echo CC $<
@${CC} -c ${CFLAGS} $< @${CC} -c ${CFLAGS} $<
${OBJ}: dwm.h ${OBJ}: dwm.h config.h
config.h:
cp config.default.h config.h
dwm: ${OBJ} dwm: ${OBJ}
@echo LD $@ @echo LD $@

@ -13,10 +13,9 @@ Installation
Edit config.mk to match your local setup (dwm is installed into Edit config.mk to match your local setup (dwm is installed into
the /usr/local namespace by default). 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): necessary as root):
cp config.default.h config.h
make clean install make clean install

Loading…
Cancel
Save