2014-11-29 19:15:09 +01:00
|
|
|
GENPLUS_SRC_DIR := $(CORE_DIR)/core \
|
|
|
|
$(CORE_DIR)/core/z80 \
|
|
|
|
$(CORE_DIR)/core/m68k \
|
|
|
|
$(CORE_DIR)/core/ntsc \
|
|
|
|
$(CORE_DIR)/core/sound \
|
|
|
|
$(CORE_DIR)/core/input_hw \
|
|
|
|
$(CORE_DIR)/core/cd_hw \
|
|
|
|
$(CORE_DIR)/core/cart_hw \
|
|
|
|
$(CORE_DIR)/core/cart_hw/svp
|
|
|
|
|
2017-08-27 16:42:31 +02:00
|
|
|
ifeq ($(HAVE_CHD), 1)
|
|
|
|
INCFLAGS += -I$(CHDLIBDIR)/src -I$(CHDLIBDIR)/deps/libFLAC/include -I$(CHDLIBDIR)/deps/lzma -I$(CHDLIBDIR)/deps/zlib
|
|
|
|
GENPLUS_SRC_DIR += $(CHDLIBDIR)/src
|
|
|
|
GENPLUS_SRC_DIR += $(CHDLIBDIR)/deps/libFLAC
|
|
|
|
GENPLUS_SRC_DIR += $(CHDLIBDIR)/deps/lzma
|
|
|
|
GENPLUS_SRC_DIR += $(CHDLIBDIR)/deps/zlib
|
|
|
|
endif
|
|
|
|
|
2017-04-20 05:40:42 +02:00
|
|
|
SOURCES_C = $(foreach dir,$(GENPLUS_SRC_DIR),$(wildcard $(dir)/*.c))
|
|
|
|
|
2017-06-24 22:55:26 +02:00
|
|
|
ifneq ($(STATIC_LINKING), 1)
|
2017-07-27 09:12:14 +02:00
|
|
|
SOURCES_C += $(CORE_DIR)/libretro/libretro-common/streams/file_stream.c \
|
|
|
|
$(CORE_DIR)/libretro/libretro-common/streams/file_stream_transforms.c
|
2017-06-24 22:55:26 +02:00
|
|
|
endif
|
|
|
|
|
2017-04-20 05:40:42 +02:00
|
|
|
ifeq ($(SHARED_LIBVORBIS),)
|
|
|
|
SOURCES_C += $(foreach dir,$(TREMOR_SRC_DIR),$(wildcard $(dir)/*.c))
|
|
|
|
endif
|
|
|
|
|
|
|
|
SOURCES_C += $(LIBRETRO_DIR)/libretro.c
|
2014-11-29 19:15:09 +01:00
|
|
|
|
2015-02-07 18:19:53 +01:00
|
|
|
SOURCES_C += $(LIBRETRO_DIR)/scrc32.c
|
2014-11-29 19:15:09 +01:00
|
|
|
|
2017-07-26 00:05:12 +02:00
|
|
|
INCFLAGS += $(foreach dir,$(GENPLUS_SRC_DIR),-I$(dir)) -I$(LIBRETRO_DIR) -I$(CORE_DIR)/libretro/libretro-common/include
|