mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-11 05:15:11 +01:00
30 lines
732 B
Makefile
30 lines
732 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
WANT_CRC32 := 1
|
|
|
|
CORE_DIR := ../..
|
|
|
|
TREMOR_SRC_DIR := $(CORE_DIR)/core/tremor
|
|
LIBRETRO_DIR := ..
|
|
|
|
LOCAL_MODULE := retro
|
|
|
|
ifeq ($(TARGET_ARCH),arm)
|
|
LOCAL_CFLAGS += -DANDROID_ARM
|
|
LOCAL_ARM_MODE := arm
|
|
endif
|
|
|
|
include $(LIBRETRO_DIR)/Makefile.common
|
|
|
|
LOCAL_SRC_FILES := $(SOURCES_C)
|
|
|
|
LOCAL_C_INCLUDES = $(foreach dir,$(GENPLUS_SRC_DIR),$(LOCAL_PATH)/$(dir)) \
|
|
$(LOCAL_PATH)/$(TREMOR_SRC_DIR) \
|
|
$(LOCAL_PATH)/$(LIBRETRO_DIR)
|
|
|
|
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
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|