From bbac1324c6135fc17641fe12f5aa2b7c3623483c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 1 Nov 2014 06:07:01 +0100 Subject: (Griffin) Add Griffin option, enable by default --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9c60385..8b9b96e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ DEBUG = 0 PERF_TEST = 1 +HAVE_GRIFFIN = 1 ifeq ($(platform),) platform = unix @@ -128,6 +129,11 @@ DEFS += -D__LIBRETRO__ CATSFC_DIR := libfreedo +ifeq ($(HAVE_GRIFFIN), 1) +CATSFC_SOURCES := source/catsfc_griffin.c +CATSFC_SOURCES += source/sa1.c source/sa1cpu.c +LIBRETRO_SOURCES := +else CATSFC_SOURCES := source/apu.c source/c4.c \ source/c4emu.c \ source/cheats2.c \ @@ -158,9 +164,10 @@ CATSFC_SOURCES := source/apu.c source/c4.c \ source/spc700.c source/spc7110.c \ source/srtc.c \ source/tile.c +LIBRETRO_SOURCES := libretro.c +endif -LIBRETRO_SOURCES := libretro.c SOURCES_C := $(LIBRETRO_SOURCES) $(CATSFC_SOURCES) -- cgit v1.2.3