2017-05-04 01:22:28 +00:00
|
|
|
INCFLAGS := -I$(CORE_DIR) \
|
2017-10-12 16:05:27 +00:00
|
|
|
-I$(CORE_DIR)/Core
|
2017-05-04 01:22:28 +00:00
|
|
|
|
|
|
|
SOURCES_C := $(CORE_DIR)/Core/gb.c \
|
2017-10-12 16:05:27 +00:00
|
|
|
$(CORE_DIR)/Core/apu.c \
|
2017-10-12 16:42:30 +00:00
|
|
|
$(CORE_DIR)/Core/memory.c \
|
2017-10-12 16:05:27 +00:00
|
|
|
$(CORE_DIR)/Core/mbc.c \
|
|
|
|
$(CORE_DIR)/Core/timing.c \
|
|
|
|
$(CORE_DIR)/Core/display.c \
|
|
|
|
$(CORE_DIR)/Core/symbol_hash.c \
|
|
|
|
$(CORE_DIR)/Core/camera.c \
|
|
|
|
$(CORE_DIR)/Core/z80_cpu.c \
|
|
|
|
$(CORE_DIR)/Core/joypad.c \
|
2017-10-09 17:03:51 +00:00
|
|
|
$(CORE_DIR)/Core/save_state.c \
|
2017-10-12 16:05:27 +00:00
|
|
|
$(CORE_DIR)/libretro/libretro.c
|
2017-05-04 01:22:28 +00:00
|
|
|
|
2017-05-04 01:36:34 +00:00
|
|
|
ifeq ($(HAVE_DEBUGGER), 1)
|
|
|
|
SOURCES_C += $(CORE_DIR)/Core/debugger.c \
|
2017-10-12 16:05:27 +00:00
|
|
|
$(CORE_DIR)/Core/z80_disassembler.c
|
|
|
|
else
|
|
|
|
CFLAGS += -DDISABLE_DEBUGGER
|
2017-05-04 01:36:34 +00:00
|
|
|
endif
|
2017-10-12 16:42:30 +00:00
|
|
|
CFLAGS += -DDISABLE_TIMEKEEPING
|
|
|
|
|
2017-05-04 01:36:34 +00:00
|
|
|
|
2017-10-12 16:05:27 +00:00
|
|
|
SOURCES_CXX :=
|