Restore makefile

This commit is contained in:
dariasteam 2018-04-13 13:08:26 +01:00
parent f6f37760c5
commit ff17aef314

View file

@ -3,8 +3,13 @@ prefix ?= /usr/local
all:
echo "making"
mkdir -p build
cd build; git clone -b 2.1 --single-branch https://github.com/godotengine/godot || true
cd build/godot; git reset --hard a524cc92e7cccd012d028d870e4648c59473d04e
cd build/godot; scons -j `nproc` platform=server use_llvm=yes
cd build/godot; scons platform=x11 tools=no target=release_debug bits=64 use_llvm=yes -j `nproc`
mkdir -p ~/.godot/templates/
cp build/godot/bin/godot.x11.opt.debug.64.llvm ~/.godot/templates/linux_x11_64_release
../godot/bin/godot_server.server.tools.64 -export "Linux X11" build/cowsrevenge
build/godot/bin/godot_server.server.tools.64 -export "Linux X11" build/cowsrevenge
install: