aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authornotaz2015-01-04 01:43:23 +0200
committernotaz2015-01-04 22:44:23 +0200
commit5514a050f4e936f5c333fa1271b11bf5a6a9ea39 (patch)
tree45a7ab2cb344efe215c72251ba02f65452ace1a2 /Makefile
parent63a4f6b6a3b0315590cd3009df2c92480ed2d98b (diff)
downloadpcsx_rearmed-5514a050f4e936f5c333fa1271b11bf5a6a9ea39.tar.gz
pcsx_rearmed-5514a050f4e936f5c333fa1271b11bf5a6a9ea39.tar.bz2
pcsx_rearmed-5514a050f4e936f5c333fa1271b11bf5a6a9ea39.zip
spu: start offload code to TI C64x DSP
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 339fcd5..c15f6ff 100644
--- a/Makefile
+++ b/Makefile
@@ -83,6 +83,10 @@ plugins/dfsound/spu.o: plugins/dfsound/adsr.c plugins/dfsound/reverb.c \
ifeq "$(ARCH)" "arm"
OBJS += plugins/dfsound/arm_utils.o
endif
+ifeq "$(HAVE_C64_TOOLS)" "1"
+plugins/dfsound/spu.o: CFLAGS += -DC64X_DSP
+plugins/dfsound/spu.o: plugins/dfsound/spu_c64x.c
+endif
ifneq ($(findstring oss,$(SOUND_DRIVERS)),)
plugins/dfsound/out.o: CFLAGS += -DHAVE_OSS
OBJS += plugins/dfsound/oss.o