Files
commandergenius/project/jni/application/openttd/build-pc.sh
2014-11-16 04:52:11 +02:00

18 lines
374 B
Bash
Executable File

#!/bin/sh
LOCAL_PATH=`dirname $0`
LOCAL_PATH=`cd $LOCAL_PATH && pwd`
mkdir -p openttd-pc openttd-pc/baseset
cd openttd-pc
[ -e bin/baseset ] || cp -a ../src/bin .
export CFLAGS=-O0
export CXXFLAGS=-O0
[ -e Makefile ] || ../src/configure --enable-debug || exit 1
make -j8 VERBOSE=1 || exit 1
cd bin
#gdb -ex run --args ./openttd
./openttd -d 1 -r 854x480 -g opntitle.sav