summaryrefslogtreecommitdiffhomepage
path: root/templates/standard_game/Makefile.Android
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2019-03-17 12:21:51 +0100
committerraysan5 <[email protected]>2019-03-17 12:21:51 +0100
commit0bbf857b00ab111749aa7ae22d942108ef06455f (patch)
treecaed61bce732a9d2612f9e4a9d5d1cbf8cd68ec9 /templates/standard_game/Makefile.Android
parentf02a0334d8f86277916c52b274a0c7c21b6b9cd0 (diff)
downloadraylib-0bbf857b00ab111749aa7ae22d942108ef06455f.tar.gz
raylib-0bbf857b00ab111749aa7ae22d942108ef06455f.zip
Review build release path, default to src directory
Diffstat (limited to 'templates/standard_game/Makefile.Android')
-rw-r--r--templates/standard_game/Makefile.Android6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/standard_game/Makefile.Android b/templates/standard_game/Makefile.Android
index b6c68417..887bb9d0 100644
--- a/templates/standard_game/Makefile.Android
+++ b/templates/standard_game/Makefile.Android
@@ -70,7 +70,9 @@ APP_KEYSTORE_PASS ?= raylib
# Library type used for raylib: STATIC (.a) or SHARED (.so/.dll)
RAYLIB_LIBTYPE ?= STATIC
-RAYLIB_LIB_PATH = $(RAYLIB_PATH)\release\libs\android\$(ANDROID_ARCH_NAME)
+
+# Library path for libraylib.s/libraylib.so
+RAYLIB_LIB_PATH = $(RAYLIB_PATH)\src
# Shared libs must be added to APK if required
# NOTE: Generated NativeLoader.java automatically load those libraries
@@ -104,7 +106,7 @@ CFLAGS += -Wall -Wa,--noexecstack -Wformat -Werror=format-security -no-canonical
CFLAGS += -DANDROID -DPLATFORM_ANDROID -D__ANDROID_API__=$(ANDROID_API_VERSION)
# Paths containing required header files
-INCLUDE_PATHS = -I. -I$(RAYLIB_PATH)/release/include -I$(RAYLIB_PATH)/src/external/android/native_app_glue
+INCLUDE_PATHS = -I. -I$(RAYLIB_PATH)/src -I$(RAYLIB_PATH)/src/external/android/native_app_glue
# Linker options
LDFLAGS = -Wl,-soname,lib$(PROJECT_LIBRARY_NAME).so -Wl,--exclude-libs,libatomic.a