SFML/tools/android/compile_mips.sh

13 lines
292 B
Bash
Raw Normal View History

#!/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