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
|
|
|
|
|
2015-07-22 12:01:34 +08:00
|
|
|
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
|
2017-04-27 09:25:20 +08:00
|
|
|
# developers report it will cause error on Windows
|
|
|
|
# APP_SHORT_COMMANDS := true
|
2016-07-27 10:10:09 +08:00
|
|
|
|
2015-06-18 17:22:30 +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
|