4 CFLAGS
="-std=c99 -Wall"
15 if [ "$1" == "" ] ||
[ "$EXE" == "$1" ]
17 echo "Usage: bake source.c or bake target"
29 debugecho
"Filename: $SRC"
31 LIBNAMES
=`grep "^#define" $SRC|grep USE_LIBRARY_|cut -f 2 -d " "`
32 if ! [ -z "$LIBNAMES" ]
34 debugecho
"Libraries: $LIBNAMES"
38 LIBS
="$LIBS `grep $F $CONF|cut -f 2 -d \ `"
42 PRENAMES
=`grep "^#define" $SRC|grep USE_PREPROCESSOR_|cut -f 2 -d " "`
43 if ! [ -z "$PRENAMES" ]
45 debugecho
"Precompilers: $PRENAMES"
48 CMD
=`grep $F $CONF|cut -f 2 -d " "`
54 CMD
="$CLL1CC $SRC -o $EXE $CFLAGS $LIBS"
This page took 1.290626 seconds and 4 git commands to generate.