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
|
2015-02-05 13:05:54 +00:00
|
|
|
MONOLITHIC_SOURCE="$(find src/@NAME@/ -name '*.h' | sort) \
|
|
|
|
$(find src/@NAME@/ -name '*.cc' | 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@
|