Update Makefile for Android
Minor updates for Android.
# Linux: make OS=linux
# Android:
# Set ANDROID_API and ANDROID_BASE in this makefile: make OS=android
-# or invoke like this: make OS=android NDK_HOME=/opt/android-ndk ANDROID_API=21
+# or invoke like this: make OS=android NDK_HOME=/opt/android-ndk ANDROID_API=23
#
JAVA_HOME ?= $(shell readlink -e "$$(dirname "$$(readlink -e "$$(which javac)")")"/..)
@@ -83,7 +83,7 @@ ifeq ($(OS),android)
HEADER_FILE += -I../port/android
LDFLAG += -llog
ifeq ($(ANDROID_API),)
- EXTRA_FLAG += -D__ANDROID_API__=21
+ EXTRA_FLAG += -D__ANDROID_API__=23
else
EXTRA_FLAG += -D__ANDROID_API__=$(ANDROID_API)
endif
