Add android makefile (it was ignored by the .gitignore…) and ignore freetype and ifaddrs (downloaded via the makefile)
This commit is contained in:
parent
3a663f8e71
commit
de576272e6
2
.gitignore
vendored
2
.gitignore
vendored
@ -55,3 +55,5 @@ xx
|
||||
|
||||
android/android-ndk-r10e
|
||||
android/jni/jpeglib
|
||||
android/jni/freetype
|
||||
android/jni/ifaddrs
|
||||
|
@ -3,7 +3,7 @@ NDK_PATH=android-ndk-r10e/
|
||||
all: build apk
|
||||
|
||||
# target: build - Build the native code
|
||||
build: obj/freetype.stamp
|
||||
build: obj/freetype.stamp jni/ifaddrs/ifaddrs.h
|
||||
NDK_CCACHE=ccache ${NDK_PATH}/ndk-build -j3
|
||||
|
||||
# target: apk - Make a debug APK
|
||||
@ -28,3 +28,6 @@ obj/freetype.stamp:
|
||||
make -j4 && \
|
||||
make install DESTDIR=`pwd`/../../obj/freetype
|
||||
touch obj/freetype.stamp
|
||||
|
||||
jni/ifaddrs/ifaddrs.h:
|
||||
cd jni && git clone https://github.com/morristech/android-ifaddrs.git ifaddrs
|
||||
|
Loading…
Reference in New Issue
Block a user