mirror of git://git.suckless.org/ubase
Use CC for ubase-box, remove LD
This commit is contained in:
parent
52a0874624
commit
570a2bf4ce
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue