SameBoy/libretro/Makefile.common

29 lines
888 B
Makefile
Raw Normal View History

2017-05-04 01:22:28 +00:00
INCFLAGS := -I$(CORE_DIR) \
-I$(CORE_DIR)/Core
2017-05-04 01:22:28 +00:00
SOURCES_C := $(CORE_DIR)/Core/gb.c \
$(CORE_DIR)/Core/apu.c \
$(CORE_DIR)/Core/memory.c \
$(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 \
$(CORE_DIR)/Core/save_state.c \
$(CORE_DIR)/libretro/cgb_boot.c \
$(CORE_DIR)/libretro/dmg_boot.c \
$(CORE_DIR)/libretro/libretro.c
2017-05-04 01:22:28 +00:00
ifeq ($(HAVE_DEBUGGER), 1)
SOURCES_C += $(CORE_DIR)/Core/debugger.c \
$(CORE_DIR)/Core/z80_disassembler.c
else
CFLAGS += -DDISABLE_DEBUGGER
endif
CFLAGS += -DDISABLE_TIMEKEEPING
SOURCES_CXX :=