build_engine.sh: Check for BUILD_CLEAN and issue gmake clean if set
This commit is contained in:
parent
fbbcfd5d5f
commit
975395a8e6
1 changed files with 4 additions and 0 deletions
|
@ -71,6 +71,10 @@ else
|
|||
cd ./engine/engine
|
||||
fi
|
||||
|
||||
if [ "$BUILD_CLEAN" ]; then
|
||||
gmake clean
|
||||
fi
|
||||
|
||||
gmake -j $BUILD_PROC makelibs FTE_TARGET=$PLATFORM
|
||||
gmake -j $BUILD_PROC $MAKETARGET FTE_TARGET=$PLATFORM
|
||||
cp -v "$OUTPUT" ../../../bin/fteqw
|
||||
|
|
Loading…
Reference in a new issue