mirror of
https://github.com/Dariasteam/Cows-Revenge.git
synced 2026-01-23 02:15:17 +00:00
Using single makefile
This commit is contained in:
parent
faa797c463
commit
0ab7d82d53
2 changed files with 4 additions and 24 deletions
10
Makefile
10
Makefile
|
|
@ -1,14 +1,12 @@
|
|||
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
|
||||
cd build/godot; scons -j `nproc` platform=server target=release_debug use_llvm=yes unix_global_settings_path=".."
|
||||
cd build/godot; scons platform=x11 tools=no target=release bits=`getconf LONG_BIT` use_llvm=yes -j `nproc`
|
||||
mkdir -p build/templates/
|
||||
cp build/godot/bin/godot.x11*.llvm build/templates/linux_x11_`getconf LONG_BIT`_release
|
||||
build/godot/bin/godot_server.server.tools.64 -export "Linux X11" build/cowsrevenge
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,18 +0,0 @@
|
|||
# Makefile: A standard Makefile for hello.c
|
||||
|
||||
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 unix_global_settings=".."
|
||||
cd build/godot; scons platform=x11 tools=no target=release_debug bits=64 use_llvm=yes -j `nproc`
|
||||
mkdir -p build/templates/
|
||||
cp build/godot/bin/godot.x11.opt.debug.64.llvm build/templates/linux_x11_64_release
|
||||
build/godot/bin/godot_server.server.tools.64 -export "Linux X11" build/cowsrevenge
|
||||
|
||||
install:
|
||||
cp cowsrevenge /usr/local/bin/
|
||||
cp org.pipoypipagames.cowsrevenge.desktop /usr/share/applications
|
||||
cp org.pipoypipagames.cowsrevenge.appdata.xml /usr/share/metainfo/
|
||||
cp cowsrevenge_icon.png /usr/share/icons/hicolor/64x64/apps/
|
||||
Loading…
Add table
Add a link
Reference in a new issue