axmol/tests/cpp-empty-test/proj.android/jni/Application.mk

15 lines
500 B
Makefile
Raw Normal View History

2014-03-10 20:07:20 +08:00
APP_STL := gnustl_static
# add -Wno-literal-suffix to avoid warning: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
# in NDK_ROOT/arch-arm/usr/include/sys/cdefs_elf.h:35:28: when using ndk-r9
2014-05-22 01:13:44 +08:00
APP_CPPFLAGS := -frtti -std=c++11 -Wno-literal-suffix -fsigned-char
APP_DEBUG := $(strip $(NDK_DEBUG))
ifeq ($(APP_DEBUG),1)
APP_CPPFLAGS += -DCOCOS2D_DEBUG=1
APP_OPTIM := debug
else
APP_CPPFLAGS += -DNDEBUG
APP_OPTIM := release
endif