Add build of everything.

This commit is contained in:
Nicholas Marriott
2020-05-03 11:47:28 +01:00
parent 55901367d0
commit 97d490204b
4 changed files with 51 additions and 13 deletions

View File

@ -1,9 +1,17 @@
#!/bin/sh
sh autogen.sh || exit 1
if [ "$BUILD" = "static" ]; then
./configure --enable-static || exit 1
else
./configure || exit 1
fi
exec make
case "$BUILD" in
static)
./configure --enable-static || exit 1
exec make
;;
all)
sh $(dirname $0)/build-all.sh
exec make
;;
*)
./configure || exit 1
exec make
;;
esac