Add a C module

This commit is contained in:
Laurence Withers 2007-01-31 14:03:00 +00:00
commit 8968ed27b2
8 changed files with 99 additions and 0 deletions

View file

@ -0,0 +1,17 @@
# These are external variables, and shouldn't clash with anything else
# @CNAME@_MONOLITHIC
SRC="obj/@NAME@.c"
HDR="obj/@HEADER_NAME@"
MONOLITHIC_TESTS="src/@NAME@/build.module src/@NAME@/build.monolithic"
if [ -z "${@CNAME@_MONOLITHIC}" ]
then
MONOLITHIC_SOURCE="$(echo src/@NAME@/TopSource.c)"
make_monolithic ${SRC} C || return 1
@CNAME@_MONOLITHIC=1
fi
# kate: @KATE_MODELINE@
# vim: @VIM_MODELINE@