sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit 74ac827587b5739528236c5c0afcdc72dce383f1
parent 90507652c0aa52f919a804a2cb6fef921ca39024
Author: sin <sin@2f30.org>
Date:   Mon Nov 17 13:50:19 +0000

Require GNU make to build sbase

We seem to have problems building individual tools across various
make implementations.  If anyone can step up and fix this we will
remove the dependency on GNU make.

Diffstat:
Makefile | 7++-----
README | 2++
config.mk | 3++-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile @@ -126,12 +126,9 @@ OBJ = $(BIN:=.o) $(LIBOBJ) SRC = $(BIN:=.c) MAN = $(BIN:=.1) -all: binlib +all: $(BIN) -binlib: $(LIB) - $(MAKE) bin - -bin: $(BIN) +$(BIN): $(LIB) $(OBJ): $(HDR) config.mk diff --git a/README b/README @@ -170,6 +170,8 @@ form a base system similar to busybox but much smaller and suckless. Building -------- +You need GNU make to build sbase. + To build sbase, simply type make. You may have to fiddle with config.mk depending on your system. diff --git a/config.mk b/config.mk @@ -5,8 +5,9 @@ VERSION = 0.0 PREFIX = /usr/local MANPREFIX = $(PREFIX)/share/man -#CC = musl-gcc +CC = cc LD = $(CC) +AR = ar RANLIB = ranlib CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE