2006-07-25 19:00:04 +01:00
|
|
|
# These are external variables, and shouldn't clash with anything else
|
2006-07-25 19:59:37 +01:00
|
|
|
# @CNAME@_MONOLITHIC
|
2006-07-25 19:00:04 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
SRC="obj/@NAME@.cpp"
|
|
|
|
MONOLITHIC_TESTS="src/@NAME@/build.app src/@NAME@/build.monolithic"
|
|
|
|
|
2006-07-25 19:59:37 +01:00
|
|
|
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
2006-07-25 19:00:04 +01:00
|
|
|
then
|
2007-09-26 12:52:40 +01:00
|
|
|
MONOLITHIC_SOURCE="$(find src/@NAME@/ -name '*.cpp' | sort)"
|
2006-07-25 19:00:04 +01:00
|
|
|
make_monolithic ${SRC} C || return 1
|
|
|
|
|
2006-07-25 19:59:37 +01:00
|
|
|
@CNAME@_MONOLITHIC=1
|
2006-07-25 19:00:04 +01:00
|
|
|
MONOLITHIC_DOC="${MONOLITHIC_DOC} ${SRC}"
|
|
|
|
fi
|
|
|
|
|
2007-08-08 13:03:18 +01:00
|
|
|
# vim: syntax=sh:@VIM_MODELINE@
|