Rather than the skeleton dir shipping with a couple of ready-made modules, one for each type of project, it would make much more sense and be much more flexible to instead provide a script to instantiate modules as needed.
15 lines
413 B
Text
15 lines
413 B
Text
# These are external variables, and shouldn't clash with anything else
|
|
# APPC_MONOLITHIC
|
|
#
|
|
|
|
if [ -z "${APPC_MONOLITHIC}" ]
|
|
then
|
|
SRC="obj/app.c"
|
|
|
|
MONOLITHIC_TESTS="src/capp/build.app src/capp/build.monolithic"
|
|
MONOLITHIC_SOURCE="$(echo src/capp/TopHeader.h) $(echo src/capp/TopSource.c)"
|
|
make_monolithic ${SRC} C || return 1
|
|
|
|
APPC_MONOLITHIC=1
|
|
MONOLITHIC_DOC="${MONOLITHIC_DOC} ${SRC}"
|
|
fi
|