Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
implemented the idea presented by Sander for dwm target
[dwm.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
77f75e6
..
817c2e1
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-21,7
+21,10
@@
options:
@echo CC $<
@${CC} -c ${CFLAGS} $<
@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 $@
dwm: ${OBJ}
@echo LD $@