DEFINC += -D_USE_DRZ80\r
OBJS += cpu/DrZ80/drz80.o\r
endif\r
+OBJS += cpu/sh2/sh2.o\r
ifeq "$(use_sh2mame)" "1"\r
-OBJS += cpu/sh2mame/sh2pico.o\r
+OBJS += cpu/sh2/mame/sh2pico.o\r
else\r
endif\r
+OBJS += cpu/drc/cmn.o\r
+OBJS += cpu/drc/cmn_arm.o\r
\r
vpath %.c = ../..\r
vpath %.s = ../..\r
\r
DIRS = platform platform/gp2x platform/linux platform/common pico pico/cd pico/pico pico/32x \\r
pico/sound pico/carthw/svp zlib unzip cpu cpu/musashi cpu/Cyclone/proj cpu/Cyclone/tools \\r
- cpu/mz80 cpu/DrZ80 cpu/sh2mame\r
+ cpu/mz80 cpu/DrZ80 cpu/sh2/mame cpu/drc\r
\r
\r
all: mkdirs PicoDrive\r
use_musashi = 1
#use_fame = 1
#use_mz80 = 1
+#use_sh2drc = 1
#profile = 1
#fake_in_gp2x = 1
OBJS += cpu/cz80/cz80.o
endif
# sh2
-OBJS += cpu/sh2mame/sh2pico.o
+OBJS += cpu/sh2/sh2.o
+ifeq "$(use_sh2drc)" "1"
+else
+OBJS += cpu/sh2/mame/sh2pico.o
+endif
+OBJS += cpu/drc/cmn.o
# misc
ifeq "$(use_fame)" "1"
ifeq "$(use_musashi)" "1"
vpath %.c = ../..
DIRS = platform platform/gp2x platform/common pico pico/cd pico/pico pico/sound pico/carthw/svp \
- pico/32x zlib unzip cpu cpu/musashi cpu/fame cpu/mz80 cpu/cz80 cpu/sh2mame
+ pico/32x zlib unzip cpu cpu/musashi cpu/fame cpu/mz80 cpu/cz80 cpu/sh2/mame cpu/drc
all: mkdirs PicoDrive
clean: tidy