mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
Linux build scripts
This commit is contained in:
parent
9a525b8a06
commit
271994e582
3 changed files with 13 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -6,6 +6,7 @@ native
|
||||||
*.exe
|
*.exe
|
||||||
*.obj
|
*.obj
|
||||||
marblegame.hl
|
marblegame.hl
|
||||||
|
marblegame
|
||||||
settings.json
|
settings.json
|
||||||
console.log
|
console.log
|
||||||
data/replays/
|
data/replays/
|
||||||
|
|
|
||||||
6
compile-linux.hxml
Normal file
6
compile-linux.hxml
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
-cp src
|
||||||
|
-lib heaps
|
||||||
|
-lib hlsdl
|
||||||
|
-D highDPI
|
||||||
|
-hl native/marblegame.c
|
||||||
|
--main Main
|
||||||
6
compile-linux.sh
Executable file
6
compile-linux.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
haxe compile-linux.hxml
|
||||||
|
cd native
|
||||||
|
gcc -o marblegame -g -I . -L /usr/local/lib marblegame.c /usr/local/lib/{ui.hdll,openal.hdll,fmt.hdll,sdl.hdll} -lSDL2 -lhl -lm
|
||||||
|
cp marblegame ..
|
||||||
Loading…
Add table
Reference in a new issue