build_engine.sh: Check for BUILD_CLEAN and issue gmake clean if set

This commit is contained in:
Marco Cawthorne 2021-05-17 18:19:30 +02:00
parent fbbcfd5d5f
commit 975395a8e6
1 changed files with 4 additions and 0 deletions

View File

@ -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