axmol/templates/js-template-default/frameworks/runtime-src/proj.android/jni/Application.mk

22 lines
525 B
Makefile
Raw Normal View History

2015-04-15 17:49:33 +08:00
APP_STL := gnustl_static
# Uncomment this line to compile to armeabi-v7a, your application will run faster but support less devices
#APP_ABI := armeabi-v7a
APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-char
2015-04-15 17:49:33 +08:00
APP_LDFLAGS := -latomic
2016-07-27 10:10:09 +08:00
APP_ABI := armeabi
# developers report it will cause error on Windows
# APP_SHORT_COMMANDS := true
2016-07-27 10:10:09 +08:00
USE_ARM_MODE := 1
2015-04-15 17:49:33 +08:00
ifeq ($(NDK_DEBUG),1)
APP_CPPFLAGS += -DCOCOS2D_DEBUG=1
APP_OPTIM := debug
else
APP_CPPFLAGS += -DNDEBUG
APP_OPTIM := release
endif