commit 51009a9600fcff1f842c9fdc69a93a7ec98b3c27
parent 93f1fc4614a0d455eaaec86a8fe0562290849dba
Author: Evan Gates <evan.gates@gmail.com>
Date: Thu, 3 Sep 2015 11:07:16 -0700
use CC for sbase-box, remove LD
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -218,7 +218,7 @@ sbase-box: $(LIB) $(SRC)
echo 'else { fputs("[ ", stdout);' >> build/$@.c
for f in $(SRC); do echo "fputs(\"$${f%.c} \", stdout);"; done >> 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
sbase-box-install: sbase-box
diff --git a/config.mk b/config.mk
@@ -6,7 +6,6 @@ PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
CC = cc
-LD = $(CC)
AR = ar
RANLIB = ranlib