Fix sbase-box target

This commit is contained in:
sin 2015-12-15 08:48:11 +00:00
parent c0eafd4610
commit 6b14c50e57
1 changed files with 1 additions and 0 deletions

View File

@ -215,6 +215,7 @@ dist: clean
sbase-box: $(LIB) $(SRC)
mkdir -p 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
echo '#include <libgen.h>' > build/$@.c
echo '#include <stdio.h>' >> build/$@.c