quakequest/Projects/Android/jni/Application.mk
2019-05-30 06:57:57 +01:00

19 lines
No EOL
640 B
Makefile

# MAKEFILE_LIST specifies the current used Makefiles, of which this is the last
# one. I use that to obtain the Application.mk dir then import the root
# Application.mk.
ROOT_DIR := $(dir $(lastword $(MAKEFILE_LIST)))../../../../..
APP_PLATFORM := android-21
NDK_MODULE_PATH := $(ROOT_DIR)
APP_STL := c++_shared
# Make sure every shared lib includes a .note.gnu.build-id header, for crash reporting
APP_LDFLAGS := -Wl,--build-id
NDK_TOOLCHAIN_VERSION := clang
# ndk-r14 introduced failure for missing dependencies. If 'false', the clean
# step will error as we currently remove prebuilt artifacts on clean.
APP_ALLOW_MISSING_DEPS=true