about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-05 11:09:53 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-05 11:09:53 +0100
commit3d48f330255eec6a404586f3cfe0e78d6d80e951 (patch)
tree7cd26666f1e1c49413f9b547b2f05485aca5ba60
parent19fd903d40995e7752d095a07c9aa65a414448ca (diff)
downloaddwm-3d48f330255eec6a404586f3cfe0e78d6d80e951.tar.gz
got rid of LD (inspired by JGs patch to wmii)
-rw-r--r--Makefile5
-rw-r--r--config.mk1
2 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2ce71cc..dd1a770 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,6 @@ options:
 	@echo "CFLAGS   = ${CFLAGS}"
 	@echo "LDFLAGS  = ${LDFLAGS}"
 	@echo "CC       = ${CC}"
-	@echo "LD       = ${LD}"
 
 .c.o:
 	@echo CC $<
@@ -26,8 +25,8 @@ config.h:
 	@cp config.default.h $@
 
 dwm: ${OBJ}
-	@echo LD $@
-	@${LD} -o $@ ${OBJ} ${LDFLAGS}
+	@echo CC -o $@
+	@${CC} -o $@ ${OBJ} ${LDFLAGS}
 	@strip $@
 
 clean:
diff --git a/config.mk b/config.mk
index 5c783ef..c48ecf3 100644
--- a/config.mk
+++ b/config.mk
@@ -27,4 +27,3 @@ LDFLAGS = ${LIBS}
 
 # compiler and linker
 CC = cc
-LD = ${CC}