summaryrefslogtreecommitdiffstats
path: root/Common/make
diff options
context:
space:
mode:
Diffstat (limited to 'Common/make')
-rw-r--r--Common/make/AppCommon.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/Common/make/AppCommon.mk b/Common/make/AppCommon.mk
new file mode 100644
index 00000000..454fcf19
--- /dev/null
+++ b/Common/make/AppCommon.mk
@@ -0,0 +1,11 @@
+
+APP_PLATFORM := android-19
+APP_ABI := x86 armeabi-v7a
+NDK_TOOLCHAIN_VERSION := 4.9
+APP_STL := gnustl_static
+
+ifeq ($(APP_OPTIM),release)
+ APP_CFLAGS := -O2 -DNDEBUG -g $(APP_CFLAGS)
+else
+ APP_CFLAGS := -O0 -g -D_DEBUG $(APP_CFLAGS)
+endif \ No newline at end of file