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.
This commit is contained in:
sin 2014-11-17 13:50:19 +00:00
parent 90507652c0
commit 74ac827587
3 changed files with 6 additions and 6 deletions

View File

@ -126,12 +126,9 @@ OBJ = $(BIN:=.o) $(LIBOBJ)
SRC = $(BIN:=.c) SRC = $(BIN:=.c)
MAN = $(BIN:=.1) MAN = $(BIN:=.1)
all: binlib all: $(BIN)
binlib: $(LIB) $(BIN): $(LIB)
$(MAKE) bin
bin: $(BIN)
$(OBJ): $(HDR) config.mk $(OBJ): $(HDR) config.mk

2
README
View File

@ -170,6 +170,8 @@ form a base system similar to busybox but much smaller and suckless.
Building Building
-------- --------
You need GNU make to build sbase.
To build sbase, simply type make. You may have to fiddle with To build sbase, simply type make. You may have to fiddle with
config.mk depending on your system. config.mk depending on your system.

View File

@ -5,8 +5,9 @@ VERSION = 0.0
PREFIX = /usr/local PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man MANPREFIX = $(PREFIX)/share/man
#CC = musl-gcc CC = cc
LD = $(CC) LD = $(CC)
AR = ar
RANLIB = ranlib RANLIB = ranlib
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE