lw-build-system/skel/scripts/build.sdcc.firmware/build.monolithic

19 lines
537 B
Plaintext
Raw Normal View History

# These are external variables, and shouldn't clash with anything else
# @NAME@_MONOLITHIC
#
if [ -z "${@NAME@_MONOLITHIC}" ]
then
SRC="obj/@NAME@.c"
2006-07-25 10:08:26 +01:00
MONOLITHIC_TESTS="src/@NAME@/build.firmware src/@NAME@/build.monolithic"
MONOLITHIC_SOURCE="$(echo src/@NAME@/TopHeader.h) $(echo src/@NAME@/TopSource.c)"
make_monolithic ${SRC} C || return 1
@NAME@_MONOLITHIC=1
MONOLITHIC_DOC="${MONOLITHIC_DOC} ${SRC}"
fi
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
# vim: expandtab:ts=4:sw=4