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

18 lines
444 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
;;
fi
do_parameter_subst DEST_BINDIR
add_config_option "CXX" "${COPT_CXX_DEFAULT}"
add_config_option "CFLAGS" "${COPT_CFLAGS_DEFAULT}"
true
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
# vim: syntax=sh:expandtab:ts=4:sw=4