2014-12-09 22:25:29 +01:00
|
|
|
INCFLAGS := -I$(CORE_DIR)/libretro -I$(CORE_DIR)/src
|
|
|
|
|
2014-12-09 22:37:07 +01:00
|
|
|
SOURCES_ASM :=
|
|
|
|
|
2014-12-09 22:25:29 +01:00
|
|
|
ifeq ($(HAVE_GRIFFIN), 1)
|
|
|
|
SOURCES_C := $(CORE_DIR)/gpsp_griffin.c
|
|
|
|
else
|
|
|
|
SOURCES_C := $(CORE_DIR)/main.c \
|
|
|
|
$(CORE_DIR)/cpu.c \
|
2014-12-10 05:05:41 +01:00
|
|
|
$(CORE_DIR)/gba_memory.c \
|
2014-12-09 22:25:29 +01:00
|
|
|
$(CORE_DIR)/video.c \
|
|
|
|
$(CORE_DIR)/input.c \
|
|
|
|
$(CORE_DIR)/sound.c \
|
|
|
|
$(CORE_DIR)/cheats.c \
|
|
|
|
$(CORE_DIR)/libretro.c \
|
|
|
|
$(CORE_DIR)/libco/libco.c
|
|
|
|
|
2014-12-10 17:10:17 +01:00
|
|
|
|
|
|
|
ifeq ($(HAVE_DYNAREC), 1)
|
|
|
|
SOURCES_C += $(CORE_DIR)/cpu_threaded.c
|
|
|
|
endif
|
2014-12-09 22:25:29 +01:00
|
|
|
endif
|
|
|
|
|
2014-12-10 17:06:09 +01:00
|
|
|
ifeq ($(HAVE_DYNAREC), 1)
|
|
|
|
|
2014-12-09 22:37:07 +01:00
|
|
|
ifeq ($(CPU_ARCH), x86_32)
|
|
|
|
SOURCES_ASM += $(CORE_DIR)/x86/x86_stub.S
|
|
|
|
endif
|
|
|
|
ifeq ($(CPU_ARCH), arm)
|
2014-12-10 18:39:54 +01:00
|
|
|
SOURCES_ASM += $(CORE_DIR)/arm/arm_stub.S
|
|
|
|
endif
|
|
|
|
|
2014-12-09 22:37:07 +01:00
|
|
|
endif
|
2014-12-09 22:25:29 +01:00
|
|
|
|
2014-12-10 18:39:54 +01:00
|
|
|
ifeq ($(CPU_ARCH), arm)
|
2014-12-11 19:12:09 +01:00
|
|
|
ifeq ($(CPU_ARCH_ARM_BLENDING_OPTS),1)
|
|
|
|
CFLAGS += -DARM_ARCH_BLENDING_OPTS
|
2014-12-10 18:39:54 +01:00
|
|
|
SOURCES_ASM += $(CORE_DIR)/arm/video_blend.S
|
2014-12-10 17:06:09 +01:00
|
|
|
endif
|
2014-12-11 19:12:09 +01:00
|
|
|
endif
|
2014-12-10 17:06:09 +01:00
|
|
|
|
2014-12-09 22:25:29 +01:00
|
|
|
INCFLAGS := -I$(CORE_DIR)
|