lw-build-system/scripts/build.app.c++/instantiate

17 lines
372 B
Bash

case "$1" in
bin) DEST_BINDIR="BINDIR" ;;
sbin) DEST_BINDIR="SBINDIR" ;;
cgi) DEST_BINDIR="CGIDIR" ;;
**)
echo "One argument required: binary location (bin, sbin or cgi)."
exit 1
;;
esac
do_parameter_subst DEST_BINDIR
add_config_option "CXX" "${COPT_CXX_DEFAULT}"
add_config_option "CFLAGS" "${COPT_CFLAGS_DEFAULT}"
true
# vim: syntax=sh:expandtab:ts=4:sw=4