1
0
forked from GitHub/gf-core
Files
gf-core/src/runtime/c/setup.sh
hallgren ceb4beeb84 runtime/c/setup.sh: use make -j to speed up compilation
The configuration script takes significantly longer to run than the compilation
of all the C code, which is a hint that is in need of a major simplification.
2014-06-19 09:26:44 +00:00

22 lines
323 B
Bash

# Executable version of INSTALL
command="$1"
shift
case "$command" in
configure)
[ `uname` != Darwin ] || glibtoolize
autoreconf -i
./configure "$@"
;;
build)
make -j "$@"
;;
copy|install)
make install "$@"
;;
*)
echo "Usage: setup.sh [configure|build|copy|install] ..."
esac