ubase

suckless linux base utils
git clone git://git.suckless.org/ubase
Log | Files | Refs | README | LICENSE

commit 570a2bf4ce82a5836351f8b806ba53c2adff8692
parent 52a0874624fcd53f76ef0d2caa82c0463ab93303
Author: sin <sin@2f30.org>
Date:   Thu,  3 Sep 2015 19:56:12 +0100

Use CC for ubase-box, remove LD

Diffstat:
MMakefile | 2+-
Mconfig.mk | 1-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -200,7 +200,7 @@ ubase-box: $(LIB) $(SRC) echo 'else {' >> build/$@.c for f in $(SRC); do echo "printf(\"`basename $$f .c`\"); putchar(' ');" >> build/$@.c; done 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 ubase-box-install: ubase-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