Add Makefile with default arguments for ndk-build

master
Marc Salem 2013-03-04 12:32:40 -08:00
parent b80e9d8f2c
commit 33c757593b
1 changed files with 17 additions and 0 deletions

17
Makefile Normal file
View File

@ -0,0 +1,17 @@
ANDROID_NDK_ROOT?=~/android-ndk
TARGET_ARCH_ABI?=armeabi-v7a
LOCAL_ARM_NEON?=true
# Set to yes to include support for output to OpenSL
POST_FROYO?=yes
default: lib
lib:
(cd jni; \
TARGET_ARCH_ABI=$(TARGET_ARCH_ABI) \
LOCAL_ARM_NEON=$(LOCAL_ARM_NEON) \
ANDROID_NDK_ROOT=$(ANDROID_NDK_ROOT) \
POST_FROYO=$(POST_FROYO) \
$(ANDROID_NDK_ROOT)/ndk-build;)