mirror of
https://github.com/DrBeef/QuakeQuest.git
synced 2024-11-24 04:51:23 +00:00
e98f71ccfd
Added support for OGG files via libvorbis. Must have this in a new SupportLibs folder in JNI
25 lines
No EOL
796 B
Makefile
25 lines
No EOL
796 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)))../../../../..
|
|
NDK_MODULE_PATH := $(ROOT_DIR)
|
|
|
|
APP_PLATFORM := android-24
|
|
|
|
APP_CFLAGS += -Wl,--no-undefined
|
|
|
|
APPLICATIONMK_PATH = $(call my-dir)
|
|
|
|
TOP_DIR := $(APPLICATIONMK_PATH)
|
|
SUPPORT_LIBS := $(APPLICATIONMK_PATH)/SupportLibs
|
|
|
|
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
|