implemented the idea presented by Sander for dwm target
5d3fd370
2 file(s) · +5 −3
| 21 | 21 | @echo CC $< |
|
| 22 | 22 | @${CC} -c ${CFLAGS} $< |
|
| 23 | 23 | ||
| 24 | - | ${OBJ}: dwm.h |
|
| 24 | + | ${OBJ}: dwm.h config.h |
|
| 25 | + | ||
| 26 | + | config.h: |
|
| 27 | + | cp config.default.h config.h |
|
| 25 | 28 | ||
| 26 | 29 | dwm: ${OBJ} |
|
| 27 | 30 | @echo LD $@ |
| 13 | 13 | Edit config.mk to match your local setup (dwm is installed into |
|
| 14 | 14 | the /usr/local namespace by default). |
|
| 15 | 15 | ||
| 16 | - | Afterwards enter the following commands to build and install dwm (if |
|
| 16 | + | Afterwards enter the following command to build and install dwm (if |
|
| 17 | 17 | necessary as root): |
|
| 18 | 18 | ||
| 19 | - | cp config.default.h config.h |
|
| 20 | 19 | make clean install |
|
| 21 | 20 | ||
| 22 | 21 |