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:
parent
90507652c0
commit
74ac827587
7
Makefile
7
Makefile
|
@ -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
2
README
|
@ -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.
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user