jkxr/Projects/Android/jni/Application.mk

25 lines
684 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 := $(TOP_DIR)/SupportLibs
GL4ES_PATH := $(SUPPORT_LIBS)/gl4es
OPENJK_PATH := $(TOP_DIR)/OpenJK
SHARED_PATH := $(OPENJK_PATH)/shared
SPDir := $(OPENJK_PATH)/code
APP_ALLOW_MISSING_DEPS=true
APP_MODULES := gl4es rd-gles_arm jagamearm openjk_sp
APP_STL := c++_shared