mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-14 00:40:39 +00:00
16 lines
269 B
Bash
Executable file
16 lines
269 B
Bash
Executable file
#!/bin/bash
|
|
|
|
MASTER_DIR=`dirname $0`
|
|
cd ${MASTER_DIR}
|
|
|
|
if [ "$OPTIONS" = "all_options" ];
|
|
then
|
|
export USE_CODEC_VORBIS=1
|
|
export USE_FREETYPE=1
|
|
fi
|
|
|
|
CORES=`awk '/^processor/ { N++} END { print N }' /proc/cpuinfo`
|
|
|
|
make -j${CORES} distclean ${BUILD_TYPE}
|
|
|
|
exit $?
|