jkxr/Projects/Android/jni/Application.mk
2022-10-05 19:23:10 +01:00

27 lines
771 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
JK3_CODE_PATH := $(OPENJK_PATH)/code
JK2_CODE_PATH := $(OPENJK_PATH)/codeJK2
APP_ALLOW_MISSING_DEPS=true
APP_MODULES := gl4es rd-gles-jo_arm jogamearm openjk_jo
# rd-gles-ja_arm jagamearm openjk_ja
APP_STL := c++_shared