set FINAL define on release-build

This commit is contained in:
Stefan `Sec` Zehl 2011-08-05 10:26:24 +02:00
parent a402918828
commit b025dcf409
2 changed files with 6 additions and 0 deletions

View File

@ -50,6 +50,10 @@ WRAPOBJ=$(WRAP).o
WRAPSRC=$(WRAP).c
LIBFILE=lib$(LIBNAME).a
ifeq "$(FINAL)" "y"
CFLAGS+=-DFINAL
endif
##########################################################################
# Compiler settings, parameters and flags
##########################################################################

View File

@ -21,6 +21,8 @@ mkdir $TARG/files
echo "###"
echo "### Building initial"
echo "###"
export FINAL=y
git checkout filesystem/ffconf.h
make clean
make APP=initial