aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-05 11:10:41 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-05 11:10:41 +0100
commitdbccf6fbff01dce1e4349ab8ccff4357e360da4c (patch)
tree948b3c09ea4f45feda07ee521b6aa33cebb93a58
parentaea9bfec5eaa6e1954f1faa73e791a70a1c01fe6 (diff)
got rid of LD, inspired by JGs patch to wmii
-rw-r--r--Makefile5
-rw-r--r--config.mk3
2 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index fec5da4..d86c111 100644
--- a/Makefile
+++ b/Makefile
@@ -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
24dmenu: ${OBJ} 23dmenu: ${OBJ}
25 @echo LD $@ 24 @echo CC -o $@
26 @${LD} -o $@ ${OBJ} ${LDFLAGS} 25 @${CC} -o $@ ${OBJ} ${LDFLAGS}
27 @strip $@ 26 @strip $@
28 27
29clean: 28clean:
diff --git a/config.mk b/config.mk
index 7860a39..cc328ea 100644
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
1# dmenu version 1# dmenu version
2VERSION = 2.1 2VERSION = 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
29CC = cc 29CC = cc
30LD = ${CC}