1
0
mirror of git://git.suckless.org/ubase synced 2024-12-17 20:24:45 +00:00

Use CC for ubase-box, remove LD

This commit is contained in:
sin 2015-09-03 19:56:12 +01:00
parent 52a0874624
commit 570a2bf4ce
2 changed files with 1 additions and 2 deletions

View File

@ -200,7 +200,7 @@ ubase-box: $(LIB) $(SRC)
echo 'else {' >> build/$@.c echo 'else {' >> build/$@.c
for f in $(SRC); do echo "printf(\"`basename $$f .c`\"); putchar(' ');" >> build/$@.c; done for f in $(SRC); do echo "printf(\"`basename $$f .c`\"); putchar(' ');" >> build/$@.c; done
echo "putchar(0xa); }; return 0; }" >> build/$@.c echo "putchar(0xa); }; return 0; }" >> build/$@.c
$(LD) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ build/*.c $(LIB) $(LDLIBS) $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ build/*.c $(LIB) $(LDLIBS)
rm -r build rm -r build
ubase-box-install: ubase-box ubase-box-install: ubase-box

View File

@ -6,7 +6,6 @@ PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man MANPREFIX = $(PREFIX)/share/man
CC = cc CC = cc
LD = $(CC)
AR = ar AR = ar
RANLIB = ranlib RANLIB = ranlib