2014-07-02 17:07:36 +08:00
|
|
|
APP_STL := c++_static
|
|
|
|
NDK_TOOLCHAIN_VERSION=clang
|
|
|
|
|
2014-05-20 17:49:02 +08:00
|
|
|
APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-char
|
2014-07-02 17:07:36 +08:00
|
|
|
APP_LDFLAGS := -latomic
|
|
|
|
|
2014-03-10 19:33:57 +08:00
|
|
|
|
2014-05-20 17:49:02 +08:00
|
|
|
APP_DEBUG := $(strip $(NDK_DEBUG))
|
|
|
|
ifeq ($(APP_DEBUG),1)
|
|
|
|
APP_CPPFLAGS += -DCOCOS2D_DEBUG=1
|
|
|
|
APP_OPTIM := debug
|
|
|
|
else
|
|
|
|
APP_CPPFLAGS += -DNDEBUG
|
|
|
|
APP_OPTIM := release
|
2014-07-02 17:07:36 +08:00
|
|
|
endif
|