aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
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)