Fix sbase-box target
This commit is contained in:
parent
c0eafd4610
commit
6b14c50e57
1
Makefile
1
Makefile
|
@ -215,6 +215,7 @@ dist: clean
|
||||||
sbase-box: $(LIB) $(SRC)
|
sbase-box: $(LIB) $(SRC)
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
cp $(HDR) build
|
cp $(HDR) build
|
||||||
|
cp confstr_l.h limits_l.h sysconf_l.h pathconf_l.h build
|
||||||
for f in $(SRC); do sed "s/^main(/$${f%.c}_&/" < $$f > build/$$f; done
|
for f in $(SRC); do sed "s/^main(/$${f%.c}_&/" < $$f > build/$$f; done
|
||||||
echo '#include <libgen.h>' > build/$@.c
|
echo '#include <libgen.h>' > build/$@.c
|
||||||
echo '#include <stdio.h>' >> build/$@.c
|
echo '#include <stdio.h>' >> build/$@.c
|
||||||
|
|
Loading…
Reference in New Issue
Block a user