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