mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
13 lines
292 B
Bash
13 lines
292 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
DESTDIR=$PWD/tmp/mips
|
||
|
|
||
|
PATH=$PWD/toolchains/mips/bin:$PATH
|
||
|
CC=mipsel-linux-android-gcc
|
||
|
CXX=mipsel-linux-android-g++
|
||
|
CFLAGS=-I$DESTDIR/usr/include
|
||
|
CPPFLAGS=-I$DESTDIR/usr/include
|
||
|
LDFLAGS=-L$DESTDIR/usr/lib
|
||
|
|
||
|
./compile_libs.sh mips $PATH $CC $CXX $CFLAGS $CPPFLAGS $LDFLAGS
|