blob: eb09a37acf68155a29744a9fdd70d5a372e67377 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/bash
MASTER_DIR=`dirname $0`
cd ${MASTER_DIR}
if [ "$OPTIONS" = "all_options" ];
then
export USE_CODEC_VORBIS=1
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=$?
exit ${SUCCESS}
|