Browse Source

got rid of LD, inspired by JGs patch to wmii

master
Anselm R. Garbe 18 years ago
parent
commit
dbccf6fbff
  1. 5
      Makefile
  2. 3
      config.mk

5
Makefile

@ -13,7 +13,6 @@ 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 $<
@ -22,8 +21,8 @@ options:
${OBJ}: dmenu.h config.mk ${OBJ}: dmenu.h config.mk
dmenu: ${OBJ} dmenu: ${OBJ}
@echo LD $@ @echo CC -o $@
@${LD} -o $@ ${OBJ} ${LDFLAGS} @${CC} -o $@ ${OBJ} ${LDFLAGS}
@strip $@ @strip $@
clean: clean:

3
config.mk

@ -1,5 +1,5 @@
# dmenu version # dmenu version
VERSION = 2.1 VERSION = 2.2
# Customize below to fit your system # Customize below to fit your system
@ -27,4 +27,3 @@ LDFLAGS = ${LIBS}
# compiler and linker # compiler and linker
CC = cc CC = cc
LD = ${CC}

Loading…
Cancel
Save