applied Sanders LD patch
This commit is contained in:
parent
35a06ccd2e
commit
b7f8911455
2 changed files with 3 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -14,6 +14,7 @@ options:
|
||||||
@echo "CFLAGS = ${CFLAGS}"
|
@echo "CFLAGS = ${CFLAGS}"
|
||||||
@echo "LDFLAGS = ${LDFLAGS}"
|
@echo "LDFLAGS = ${LDFLAGS}"
|
||||||
@echo "CC = ${CC}"
|
@echo "CC = ${CC}"
|
||||||
|
@echo "LD = ${LD}"
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
@echo CC $<
|
@echo CC $<
|
||||||
|
@ -27,7 +28,7 @@ config.h:
|
||||||
|
|
||||||
dmenu: ${OBJ}
|
dmenu: ${OBJ}
|
||||||
@echo LD $@
|
@echo LD $@
|
||||||
@${CC} -o $@ ${OBJ} ${LDFLAGS}
|
@${LD} -o $@ ${OBJ} ${LDFLAGS}
|
||||||
@strip $@
|
@strip $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
|
@ -22,3 +22,4 @@ LDFLAGS = ${LIBS}
|
||||||
|
|
||||||
# compiler
|
# compiler
|
||||||
CC = cc
|
CC = cc
|
||||||
|
LD = ${CC}
|
||||||
|
|
Loading…
Reference in a new issue