aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortwinaphex2014-11-01 06:07:01 +0100
committertwinaphex2014-11-01 06:07:01 +0100
commitbbac1324c6135fc17641fe12f5aa2b7c3623483c (patch)
tree3a0aef4b3cb8e95829fdb573442e1de891bd10cf /Makefile
parent6097277f9119c2ae632eaf05a581a839c01a9366 (diff)
downloadsnesemu-bbac1324c6135fc17641fe12f5aa2b7c3623483c.tar.gz
snesemu-bbac1324c6135fc17641fe12f5aa2b7c3623483c.tar.bz2
snesemu-bbac1324c6135fc17641fe12f5aa2b7c3623483c.zip
(Griffin) Add Griffin option, enable by default
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)