SFML/tools/android/compile_arm.sh

13 lines
291 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
DESTDIR=$PWD/tmp/arm
PATH=$PWD/toolchains/arm/bin:$PATH
CC=arm-linux-androideabi-gcc
CXX=arm-linux-androideabi-g++
CFLAGS=-I$DESTDIR/usr/include
CPPFLAGS=-I$DESTDIR/usr/include
LDFLAGS=-L$DESTDIR/usr/lib
./compile_libs.sh arm $PATH $CC $CXX $CFLAGS $CPPFLAGS $LDFLAGS