13 lines
No EOL
289 B
Bash
Executable file
13 lines
No EOL
289 B
Bash
Executable file
#!/bin/bash
|
|
git clone https://code.teampandory.com/thirdparty/jstest-sdl.git
|
|
set -e
|
|
cd jstest-sdl
|
|
|
|
export CFLAGS="-I$PREFIX/include -O3"
|
|
export CXXFLAGS="-I$PREFIX/include -O3"
|
|
export LDFLAGS="-L$PREFIX/lib $($PREFIX/bin/sdl2-config --libs)"
|
|
|
|
|
|
sed -i "#gcc#$xCC#g" Makefile
|
|
|
|
CC="$xCC" make |