Files
commandergenius/project/jni/application/openttd/build-pc.sh
2015-04-14 13:48:39 +03: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 2 -r 854x480 -g opntitle.sav