diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-02-05 11:10:41 +0100 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-05 11:10:41 +0100 |
commit | dbccf6fbff01dce1e4349ab8ccff4357e360da4c (patch) | |
tree | 948b3c09ea4f45feda07ee521b6aa33cebb93a58 | |
parent | aea9bfec5eaa6e1954f1faa73e791a70a1c01fe6 (diff) |
got rid of LD, inspired by JGs patch to wmii
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | config.mk | 3 |
2 files changed, 3 insertions, 5 deletions
@@ -13,7 +13,6 @@ options: | |||
13 | @echo "CFLAGS = ${CFLAGS}" | 13 | @echo "CFLAGS = ${CFLAGS}" |
14 | @echo "LDFLAGS = ${LDFLAGS}" | 14 | @echo "LDFLAGS = ${LDFLAGS}" |
15 | @echo "CC = ${CC}" | 15 | @echo "CC = ${CC}" |
16 | @echo "LD = ${LD}" | ||
17 | 16 | ||
18 | .c.o: | 17 | .c.o: |
19 | @echo CC $< | 18 | @echo CC $< |
@@ -22,8 +21,8 @@ options: | |||
22 | ${OBJ}: dmenu.h config.mk | 21 | ${OBJ}: dmenu.h config.mk |
23 | 22 | ||
24 | dmenu: ${OBJ} | 23 | dmenu: ${OBJ} |
25 | @echo LD $@ | 24 | @echo CC -o $@ |
26 | @${LD} -o $@ ${OBJ} ${LDFLAGS} | 25 | @${CC} -o $@ ${OBJ} ${LDFLAGS} |
27 | @strip $@ | 26 | @strip $@ |
28 | 27 | ||
29 | clean: | 28 | clean: |
@@ -1,5 +1,5 @@ | |||
1 | # dmenu version | 1 | # dmenu version |
2 | VERSION = 2.1 | 2 | VERSION = 2.2 |
3 | 3 | ||
4 | # Customize below to fit your system | 4 | # Customize below to fit your system |
5 | 5 | ||
@@ -27,4 +27,3 @@ LDFLAGS = ${LIBS} | |||
27 | 27 | ||
28 | # compiler and linker | 28 | # compiler and linker |
29 | CC = cc | 29 | CC = cc |
30 | LD = ${CC} | ||