2021-09-30 18:31:11 +02:00
|
|
|
|
2023-02-21 19:00:46 +01:00
|
|
|
LIBRETRO_COMM_DIR := $(CORE_DIR)/libretro/libretro-common
|
2021-09-30 18:31:11 +02:00
|
|
|
INCFLAGS := -I$(CORE_DIR)/libretro -I$(LIBRETRO_COMM_DIR)/include -I$(CORE_DIR)/
|
2014-12-09 22:25:29 +01:00
|
|
|
|
2021-03-22 21:45:52 +01:00
|
|
|
SOURCES_ASM := $(CORE_DIR)/bios_data.S
|
2014-12-09 22:37:07 +01:00
|
|
|
|
2023-11-03 00:09:08 +01:00
|
|
|
SOURCES_CC := $(CORE_DIR)/video.cc \
|
|
|
|
$(CORE_DIR)/cpu.cc
|
2023-07-14 20:16:37 +02:00
|
|
|
|
2014-12-09 22:25:29 +01:00
|
|
|
SOURCES_C := $(CORE_DIR)/main.c \
|
2021-09-30 18:31:11 +02:00
|
|
|
$(CORE_DIR)/gba_memory.c \
|
|
|
|
$(CORE_DIR)/savestate.c \
|
|
|
|
$(CORE_DIR)/input.c \
|
|
|
|
$(CORE_DIR)/sound.c \
|
|
|
|
$(CORE_DIR)/cheats.c \
|
2021-11-05 18:23:05 +01:00
|
|
|
$(CORE_DIR)/memmap.c \
|
2021-09-30 18:31:11 +02:00
|
|
|
$(CORE_DIR)/libretro/libretro.c \
|
|
|
|
$(CORE_DIR)/gba_cc_lut.c \
|
|
|
|
$(LIBRETRO_COMM_DIR)/compat/compat_posix_string.c \
|
|
|
|
$(LIBRETRO_COMM_DIR)/compat/compat_strl.c \
|
|
|
|
$(LIBRETRO_COMM_DIR)/compat/fopen_utf8.c \
|
|
|
|
$(LIBRETRO_COMM_DIR)/encodings/encoding_utf.c \
|
|
|
|
$(LIBRETRO_COMM_DIR)/file/file_path.c \
|
|
|
|
$(LIBRETRO_COMM_DIR)/file/file_path_io.c \
|
|
|
|
$(LIBRETRO_COMM_DIR)/streams/file_stream.c \
|
|
|
|
$(LIBRETRO_COMM_DIR)/string/stdstring.c \
|
|
|
|
$(LIBRETRO_COMM_DIR)/time/rtime.c \
|
|
|
|
$(LIBRETRO_COMM_DIR)/vfs/vfs_implementation.c
|
2014-12-09 22:25:29 +01:00
|
|
|
|
2014-12-10 17:10:17 +01:00
|
|
|
ifeq ($(HAVE_DYNAREC), 1)
|
2023-11-03 00:09:08 +01:00
|
|
|
SOURCES_C += $(CORE_DIR)/cpu_threaded.c
|
2021-12-11 11:30:03 +01:00
|
|
|
ifeq ($(CPU_ARCH), x86_32)
|
|
|
|
SOURCES_ASM += $(CORE_DIR)/x86/x86_stub.S
|
|
|
|
else ifeq ($(CPU_ARCH), arm)
|
|
|
|
SOURCES_ASM += $(CORE_DIR)/arm/arm_stub.S
|
|
|
|
else ifeq ($(CPU_ARCH), arm64)
|
|
|
|
SOURCES_ASM += $(CORE_DIR)/arm/arm64_stub.S
|
|
|
|
else ifeq ($(CPU_ARCH), mips)
|
|
|
|
SOURCES_ASM += $(CORE_DIR)/mips/mips_stub.S
|
|
|
|
endif
|
2014-12-09 22:37:07 +01:00
|
|
|
endif
|
2014-12-09 22:25:29 +01:00
|
|
|
|
2014-12-13 05:50:15 +01:00
|
|
|
|