jkxr/Projects/Android/jni/Application.mk

27 lines
769 B
Makefile
Raw Normal View History

# 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)
2022-09-19 21:46:47 +00:00
SUPPORT_LIBS := $(TOP_DIR)/SupportLibs
GL4ES_PATH := $(SUPPORT_LIBS)/gl4es
2022-09-18 18:43:59 +00:00
OPENJK_PATH := $(TOP_DIR)/OpenJK
2022-09-19 21:46:47 +00:00
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