Move cross-make-mingw.sh's functionality to the Makefile and remove it
This commit is contained in:
parent
e4151c1d55
commit
b720b60295
5 changed files with 35 additions and 70 deletions
|
@ -9,17 +9,8 @@ then
|
|||
export USE_FREETYPE=1
|
||||
fi
|
||||
|
||||
if [ "$PLATFORM" = "mingw32" ];
|
||||
then
|
||||
MAKE=./cross-make-mingw.sh
|
||||
else
|
||||
MAKE=make
|
||||
fi
|
||||
|
||||
CORES=`awk '/^processor/ { N++} END { print N }' /proc/cpuinfo`
|
||||
|
||||
# Default Build
|
||||
($MAKE -j${CORES} clean ${BUILD_TYPE})
|
||||
SUCCESS=$?
|
||||
make -j${CORES} clean ${BUILD_TYPE}
|
||||
|
||||
exit ${SUCCESS}
|
||||
exit $?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue