use CC for sbase-box, remove LD
This commit is contained in:
parent
93f1fc4614
commit
51009a9600
2
Makefile
2
Makefile
|
@ -218,7 +218,7 @@ sbase-box: $(LIB) $(SRC)
|
||||||
echo 'else { fputs("[ ", stdout);' >> build/$@.c
|
echo 'else { fputs("[ ", stdout);' >> build/$@.c
|
||||||
for f in $(SRC); do echo "fputs(\"$${f%.c} \", stdout);"; done >> build/$@.c
|
for f in $(SRC); do echo "fputs(\"$${f%.c} \", stdout);"; done >> build/$@.c
|
||||||
echo 'putchar(0xa); }; return 0; }' >> build/$@.c
|
echo 'putchar(0xa); }; return 0; }' >> build/$@.c
|
||||||
$(LD) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ build/*.c $(LIB)
|
$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ build/*.c $(LIB)
|
||||||
rm -r build
|
rm -r build
|
||||||
|
|
||||||
sbase-box-install: sbase-box
|
sbase-box-install: sbase-box
|
||||||
|
|
Loading…
Reference in New Issue
Block a user