Genesis-Plus-GX/libretro/jni/Android.mk

30 lines
747 B
Makefile
Raw Normal View History

2012-07-09 23:14:35 +02:00
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
WANT_CRC32 := 1
2014-11-29 19:15:09 +01:00
CORE_DIR := ../..
TREMOR_SRC_DIR := $(CORE_DIR)/core/tremor
LIBRETRO_DIR := ..
2012-07-09 23:14:35 +02:00
2012-09-10 04:46:54 +02:00
LOCAL_MODULE := retro
ifeq ($(TARGET_ARCH),arm)
2016-01-02 13:06:34 +01:00
LOCAL_CFLAGS += -DANDROID_ARM -D_ARM_ASSEM_
LOCAL_ARM_MODE := arm
endif
2014-11-29 19:15:09 +01:00
include $(LIBRETRO_DIR)/Makefile.common
LOCAL_SRC_FILES := $(SOURCES_C)
2012-07-09 23:14:35 +02:00
2014-11-29 19:15:09 +01:00
LOCAL_C_INCLUDES = $(foreach dir,$(GENPLUS_SRC_DIR),$(LOCAL_PATH)/$(dir)) \
2014-10-29 00:29:48 +01:00
$(LOCAL_PATH)/$(TREMOR_SRC_DIR) \
2012-07-09 23:14:35 +02:00
$(LOCAL_PATH)/$(LIBRETRO_DIR)
2016-01-02 13:06:34 +01:00
LOCAL_CFLAGS += -ffast-math -O2 -funroll-loops -DINLINE="static inline" -DUSE_LIBTREMOR -DUSE_16BPP_RENDERING -DLSB_FIRST -DBYTE_ORDER=LITTLE_ENDIAN -D__LIBRETRO__ -DFRONTEND_SUPPORTS_RGB565 -DALIGN_LONG -DALIGN_WORD
2012-09-10 04:46:54 +02:00
2012-07-09 23:14:35 +02:00
include $(BUILD_SHARED_LIBRARY)