aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortwinaphex2013-12-31 04:55:09 +0100
committertwinaphex2013-12-31 04:55:09 +0100
commitc82d5b4ba31ae828cae27962f1a4d328fd4ea4da (patch)
treee8dd125d73ddadf480e591855daca56518467561 /Makefile
parent4bfc6b97e6eef32b184403362b49f4aa919b2dcf (diff)
downloadpcsx_rearmed-c82d5b4ba31ae828cae27962f1a4d328fd4ea4da.tar.gz
pcsx_rearmed-c82d5b4ba31ae828cae27962f1a4d328fd4ea4da.tar.bz2
pcsx_rearmed-c82d5b4ba31ae828cae27962f1a4d328fd4ea4da.zip
Fixed NEON GPU plugin for PC by using stdint.h types - use
NEON GPU plugin for non-ARM targets now
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cc19e77..6187958 100644
--- a/Makefile
+++ b/Makefile
@@ -107,9 +107,15 @@ endif
# builtin gpu
OBJS += plugins/gpulib/gpu.o plugins/gpulib/vout_pl.o
ifeq "$(BUILTIN_GPU)" "neon"
-OBJS += plugins/gpu_neon/psx_gpu_if.o plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.o
+ifeq "$(HAVE_NEON)" "1"
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
+OBJS += plugins/gpu_neon/psx_gpu_if.o plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.o
+else
+plugins/gpu_neon/psx_gpu_if.o: CFLAGS += -DTEXTURE_CACHE_4BPP -DTEXTURE_CACHE_8BPP
+plugins/gpu_neon/psx_gpu_if.o: plugins/gpu_neon/psx_gpu/*.c
+OBJS += plugins/gpu_neon/psx_gpu_if.o
+endif
endif
ifeq "$(BUILTIN_GPU)" "peops"
# note: code is not safe for strict-aliasing? (Castlevania problems)