forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Application.mk
23 lines (14 loc) · 843 Bytes
/
Application.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
APP_BUILD_SCRIPT := $(call my-dir)/Android.mk
APP_PLATFORM := android-8
# NOTE: Default CPP settings add no-exceptions no-rtti so don't need to specify
ifeq ($(MODE),debug)
APP_PROJECT_PATH := $(call my-dir)/_build/android/debug
APP_OPTIM := debug
#APP_CPPFLAGS += -D_MOBILE -DTARGET_PLATFORM_MOBILE -DTARGET_SUBPLATFORM_ANDROID -D_DEBUG -fvisibility=hidden -g
APP_CFLAGS += -D_MOBILE -DTARGET_PLATFORM_MOBILE -DTARGET_SUBPLATFORM_ANDROID -D_DEBUG -DANDROID_NDK -fvisibility=hidden -g
else
APP_PROJECT_PATH := $(call my-dir)/_build/android/release
APP_OPTIM := release
#APP_CPPFLAGS += -D_MOBILE -DTARGET_PLATFORM_MOBILE -DTARGET_SUBPLATFORM_ANDROID -D_RELEASE -DNDEBUG -fvisibility=hidden -g
APP_CFLAGS += -D_MOBILE -DTARGET_PLATFORM_MOBILE -DTARGET_SUBPLATFORM_ANDROID -D_RELEASE -DANDROID_NDK -DNDEBUG -fvisibility=hidden -g
endif