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
|
@ -4,19 +4,18 @@ failed=0;
|
|||
|
||||
# check if testing mingw
|
||||
if [ "$CC" = "i686-w64-mingw32-gcc" ]; then
|
||||
MAKE=./cross-make-mingw.sh
|
||||
export PLATFORM=mingw32
|
||||
haveExternalLibs=0
|
||||
else
|
||||
MAKE=make
|
||||
haveExternalLibs=1
|
||||
fi
|
||||
|
||||
# Default Build
|
||||
($MAKE clean release) || failed=1;
|
||||
(make clean release) || failed=1;
|
||||
|
||||
# Test additional options
|
||||
if [ $haveExternalLibs -eq 1 ]; then
|
||||
($MAKE clean release USE_CODEC_VORBIS=1 USE_FREETYPE=1) || failed=1;
|
||||
(make clean release USE_CODEC_VORBIS=1 USE_FREETYPE=1) || failed=1;
|
||||
fi
|
||||
|
||||
if [ $failed -eq 1 ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue