lw-build-system/scripts/build.app.c++/build.monolithic
Laurence Withers 0e9f48ff2d Big copyright update
Uses new-style copyright notices and improves consistency a bit. Removes the
old KATE_MODELINE stuff.
2010-11-25 15:32:52 +00:00

17 lines
439 B
Bash

# These are external variables, and shouldn't clash with anything else
# @CNAME@_MONOLITHIC
#
SRC="obj/@NAME@.cpp"
MONOLITHIC_TESTS="src/@NAME@/build.app src/@NAME@/build.monolithic"
if [ -z "${@CNAME@_MONOLITHIC}" ]
then
MONOLITHIC_SOURCE="$(find src/@NAME@/ -name '*.cpp' | sort)"
make_monolithic ${SRC} C || return 1
@CNAME@_MONOLITHIC=1
MONOLITHIC_DOC="${MONOLITHIC_DOC} ${SRC}"
fi
# vim: syntax=sh:@VIM_MODELINE@