got rid of LD, inspired by JGs patch to wmii
This commit is contained in:
parent
aea9bfec5e
commit
dbccf6fbff
2 changed files with 3 additions and 5 deletions
5
Makefile
5
Makefile
|
@ -13,7 +13,6 @@ options:
|
|||
@echo "CFLAGS = ${CFLAGS}"
|
||||
@echo "LDFLAGS = ${LDFLAGS}"
|
||||
@echo "CC = ${CC}"
|
||||
@echo "LD = ${LD}"
|
||||
|
||||
.c.o:
|
||||
@echo CC $<
|
||||
|
@ -22,8 +21,8 @@ options:
|
|||
${OBJ}: dmenu.h config.mk
|
||||
|
||||
dmenu: ${OBJ}
|
||||
@echo LD $@
|
||||
@${LD} -o $@ ${OBJ} ${LDFLAGS}
|
||||
@echo CC -o $@
|
||||
@${CC} -o $@ ${OBJ} ${LDFLAGS}
|
||||
@strip $@
|
||||
|
||||
clean:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# dmenu version
|
||||
VERSION = 2.1
|
||||
VERSION = 2.2
|
||||
|
||||
# Customize below to fit your system
|
||||
|
||||
|
@ -27,4 +27,3 @@ LDFLAGS = ${LIBS}
|
|||
|
||||
# compiler and linker
|
||||
CC = cc
|
||||
LD = ${CC}
|
||||
|
|
Loading…
Reference in a new issue