lw-build-system/scripts/build.app.c/build.monolithic

19 lines
459 B
Plaintext
Raw Normal View History

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