2017-02-16 01:47:51 +00:00
|
|
|
LIBRETRO_COMM_DIR := $(CORE_DIR)/../libretro-common
|
|
|
|
INCFLAGS := -I$(CORE_DIR) -I$(CORE_DIR)/../include -I$(CORE_DIR)/../../common -I$(CORE_DIR)/../../common/resample -I$(CORE_DIR)/../libretro -I$(LIBRETRO_COMM_DIR)/include
|
2014-11-02 02:01:24 +00:00
|
|
|
|
2017-09-15 13:35:11 +00:00
|
|
|
ifneq (,$(findstring msvc2003,$(platform)))
|
|
|
|
INCFLAGS += -I$(LIBRETRO_COMM_DIR)/include/compat/msvc
|
|
|
|
endif
|
|
|
|
|
2017-02-17 23:50:09 +00:00
|
|
|
SOURCES_C := $(CORE_DIR)/../libretro/blipper.c
|
2017-02-02 23:14:14 +00:00
|
|
|
SOURCES_CXX := $(CORE_DIR)/bootloader.cpp \
|
|
|
|
$(CORE_DIR)/cpu.cpp \
|
2015-02-17 16:47:44 +00:00
|
|
|
$(CORE_DIR)/gambatte.cpp \
|
|
|
|
$(CORE_DIR)/initstate.cpp \
|
|
|
|
$(CORE_DIR)/interrupter.cpp \
|
|
|
|
$(CORE_DIR)/interruptrequester.cpp \
|
2015-02-17 17:26:56 +00:00
|
|
|
$(CORE_DIR)/gambatte-memory.cpp \
|
2015-02-17 16:47:44 +00:00
|
|
|
$(CORE_DIR)/sound.cpp \
|
|
|
|
$(CORE_DIR)/statesaver.cpp \
|
|
|
|
$(CORE_DIR)/tima.cpp \
|
|
|
|
$(CORE_DIR)/video.cpp \
|
2015-02-18 03:02:04 +00:00
|
|
|
$(CORE_DIR)/video_libretro.cpp \
|
2015-02-17 16:47:44 +00:00
|
|
|
$(CORE_DIR)/mem/cartridge.cpp \
|
2015-02-18 02:50:54 +00:00
|
|
|
$(CORE_DIR)/mem/cartridge_libretro.cpp \
|
2018-11-28 11:18:46 +00:00
|
|
|
$(CORE_DIR)/mem/huc3.cpp \
|
2015-02-17 16:47:44 +00:00
|
|
|
$(CORE_DIR)/mem/memptrs.cpp \
|
|
|
|
$(CORE_DIR)/mem/rtc.cpp \
|
|
|
|
$(CORE_DIR)/sound/channel1.cpp \
|
|
|
|
$(CORE_DIR)/sound/channel2.cpp \
|
|
|
|
$(CORE_DIR)/sound/channel3.cpp \
|
|
|
|
$(CORE_DIR)/sound/channel4.cpp \
|
|
|
|
$(CORE_DIR)/sound/duty_unit.cpp \
|
|
|
|
$(CORE_DIR)/sound/envelope_unit.cpp \
|
|
|
|
$(CORE_DIR)/sound/length_counter.cpp \
|
|
|
|
$(CORE_DIR)/video/ly_counter.cpp \
|
|
|
|
$(CORE_DIR)/video/lyc_irq.cpp \
|
|
|
|
$(CORE_DIR)/video/next_m0_time.cpp \
|
|
|
|
$(CORE_DIR)/video/ppu.cpp \
|
|
|
|
$(CORE_DIR)/video/sprite_mapper.cpp \
|
|
|
|
$(CORE_DIR)/../libretro/libretro.cpp
|
2014-11-02 02:01:24 +00:00
|
|
|
|
2016-08-07 01:12:06 +00:00
|
|
|
ifeq ($(HAVE_NETWORK),1)
|
|
|
|
SOURCES_CXX += $(CORE_DIR)/../libretro/net_serial.cpp
|
|
|
|
endif
|
|
|
|
|
2017-02-16 01:46:28 +00:00
|
|
|
ifeq ($(STATIC_LINKING),1)
|
|
|
|
else
|
2017-12-16 00:19:43 +00:00
|
|
|
SOURCES_C += $(LIBRETRO_COMM_DIR)/streams/file_stream.c \
|
|
|
|
$(LIBRETRO_COMM_DIR)/vfs/vfs_implementation.c \
|
|
|
|
$(LIBRETRO_COMM_DIR)/compat/fopen_utf8.c \
|
|
|
|
$(LIBRETRO_COMM_DIR)/compat/compat_strl.c \
|
2020-06-29 23:47:05 +00:00
|
|
|
$(LIBRETRO_COMM_DIR)/compat/compat_snprintf.c \
|
2020-06-29 22:08:55 +00:00
|
|
|
$(LIBRETRO_COMM_DIR)/compat/compat_posix_string.c \
|
|
|
|
$(LIBRETRO_COMM_DIR)/compat/compat_strcasestr.c \
|
|
|
|
$(LIBRETRO_COMM_DIR)/file/file_path.c \
|
|
|
|
$(LIBRETRO_COMM_DIR)/time/rtime.c \
|
|
|
|
$(LIBRETRO_COMM_DIR)/string/stdstring.c \
|
2017-12-16 00:19:43 +00:00
|
|
|
$(LIBRETRO_COMM_DIR)/encodings/encoding_utf.c
|
2017-02-16 01:46:28 +00:00
|
|
|
endif
|
2017-02-10 02:01:28 +00:00
|
|
|
|