|
|
@ -184,6 +184,8 @@ ifeq ($(PLATFORM),PLATFORM_ANDROID) |
|
|
|
ifeq ($(ANDROID_ARCH),x86_64) |
|
|
|
ANDROID_ARCH_NAME = x86_64 |
|
|
|
endif |
|
|
|
|
|
|
|
ANDROID_COMPILER_PATH ?= $(ANDROID_TOOLCHAIN)/bin |
|
|
|
endif |
|
|
|
|
|
|
|
# Define raylib graphics api depending on selected platform
|
|
|
@ -236,19 +238,19 @@ endif |
|
|
|
ifeq ($(PLATFORM),PLATFORM_ANDROID) |
|
|
|
# Android toolchain (must be provided for desired architecture and compiler) |
|
|
|
ifeq ($(ANDROID_ARCH),ARM) |
|
|
|
CC = $(ANDROID_TOOLCHAIN)/bin/armv7a-linux-androideabi$(ANDROID_API_VERSION)-clang |
|
|
|
CC = $(ANDROID_COMPILER_PATH)/armv7a-linux-androideabi$(ANDROID_API_VERSION)-clang |
|
|
|
AR = $(ANDROID_TOOLCHAIN)/bin/arm-linux-androideabi-ar |
|
|
|
endif |
|
|
|
ifeq ($(ANDROID_ARCH),ARM64) |
|
|
|
CC = $(ANDROID_TOOLCHAIN)/bin/aarch64-linux-android$(ANDROID_API_VERSION)-clang |
|
|
|
CC = $(ANDROID_COMPILER_PATH)/aarch64-linux-android$(ANDROID_API_VERSION)-clang |
|
|
|
AR = $(ANDROID_TOOLCHAIN)/bin/aarch64-linux-android-ar |
|
|
|
endif |
|
|
|
ifeq ($(ANDROID_ARCH),x86) |
|
|
|
CC = $(ANDROID_TOOLCHAIN)/bin/i686-linux-android$(ANDROID_API_VERSION)-clang |
|
|
|
CC = $(ANDROID_COMPILER_PATH)/i686-linux-android$(ANDROID_API_VERSION)-clang |
|
|
|
AR = $(ANDROID_TOOLCHAIN)/bin/i686-linux-android-ar |
|
|
|
endif |
|
|
|
ifeq ($(ANDROID_ARCH),x86_64) |
|
|
|
CC = $(ANDROID_TOOLCHAIN)/bin/x86_64-linux-android$(ANDROID_API_VERSION)-clang |
|
|
|
CC = $(ANDROID_COMPILER_PATH)/x86_64-linux-android$(ANDROID_API_VERSION)-clang |
|
|
|
AR = $(ANDROID_TOOLCHAIN)/bin/x86_64-linux-android-ar |
|
|
|
endif |
|
|
|
endif |
|
|
|