aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authornotaz2011-12-20 23:56:35 +0200
committernotaz2011-12-21 23:24:59 +0200
commit90ca49139cdc64ab374f2e763cb4c28fffd0a7b8 (patch)
tree12ebda2efd6a0420cc73324478f69d78e74e628a /Makefile
parent85e76515640941eccafc0ed086d7bbf5a8fe0400 (diff)
downloadpcsx_rearmed-90ca49139cdc64ab374f2e763cb4c28fffd0a7b8.tar.gz
pcsx_rearmed-90ca49139cdc64ab374f2e763cb4c28fffd0a7b8.tar.bz2
pcsx_rearmed-90ca49139cdc64ab374f2e763cb4c28fffd0a7b8.zip
gpu_neon: integrate Exophase's rasterizer
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8d49f10..611d5c3 100644
--- a/Makefile
+++ b/Makefile
@@ -96,10 +96,16 @@ endif
# gpu
OBJS += plugins/gpu_neon/gpu.o
+ifeq "$(HAVE_NEON)" "1"
+OBJS += plugins/gpu_neon/psx_gpu_if.o plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.o
+plugins/gpu_neon/psx_gpu_if.o: CFLAGS += -DNEON_BUILD -DTEXTURE_CACHE_4BPP -DTEXTURE_CACHE_8BPP
+plugins/gpu_neon/psx_gpu_if.o: plugins/gpu_neon/psx_gpu/*.c
+else
# note: code is not safe for strict-aliasing? (Castlevania problems)
plugins/gpu_neon/peops_if.o: CFLAGS += -fno-strict-aliasing
plugins/gpu_neon/peops_if.o: plugins/dfxvideo/prim.c plugins/dfxvideo/soft.c
OBJS += plugins/gpu_neon/peops_if.o
+endif
ifdef X11
LDFLAGS += -lX11 `sdl-config --libs`
OBJS += plugins/gpu_neon/vout_sdl.o
@@ -170,6 +176,8 @@ frontend/revision.h: FORCE
@rm $@_
.PHONY: FORCE
+%.o: %.S
+ $(CC) $(CFLAGS) -c $^ -o $@
$(TARGET): $(OBJS)
$(CC) -o $@ $^ $(LDFLAGS) -Wl,-Map=$@.map