Add a C module
This commit is contained in:
parent
f5e3be481b
commit
8968ed27b2
8 changed files with 99 additions and 0 deletions
17
scripts/build.module.c/build.monolithic
Normal file
17
scripts/build.module.c/build.monolithic
Normal 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@
|
||||
Loading…
Add table
Add a link
Reference in a new issue