gpu_neon: revive the old tests
[pcsx_rearmed.git] / plugins / gpu_neon / psx_gpu / tests / Makefile
index 58cca29..21d6155 100644 (file)
@@ -1,9 +1,10 @@
 CC = $(CROSS_COMPILE)gcc
 CFLAGS += -DTEXTURE_CACHE_4BPP -DTEXTURE_CACHE_8BPP
 CFLAGS += -Wall -ggdb
+CFLAGS += -fno-strict-aliasing
 
 CFLAGS += `sdl-config --cflags`
-LDFLAGS += `sdl-config --libs`
+LDLIBS += `sdl-config --libs`
 
 VPATH += ..
 
@@ -11,9 +12,12 @@ ifdef NEON
 CFLAGS += -mcpu=cortex-a8 -mfpu=neon -DNEON_BUILD
 ASFLAGS = $(CFLAGS)
 OBJ += psx_gpu_arm_neon.o
+else
+CFLAGS += -DNEON_BUILD -DSIMD_BUILD
+OBJ += psx_gpu_simd.o
 endif
 ifndef DEBUG
-CFLAGS += -O2 -DNDEBUG -fno-strict-aliasing
+CFLAGS += -O2 -DNDEBUG
 endif
 
 OBJ += psx_gpu.o psx_gpu_parse.o psx_gpu_main.o