MBHaxe/compile-linux.sh
2023-02-18 18:48:25 +05:30

6 lines
209 B
Bash
Executable file

#!/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,uv.hdll,ssl.hdll} -lSDL2 -lhl -lm
cp marblegame ..