aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_neon/psx_gpu/tests/Makefile
diff options
context:
space:
mode:
authornotaz2012-10-06 23:36:06 +0300
committernotaz2012-10-06 23:59:31 +0300
commitf82c62507c67309b9c020a54f6c848853d39febe (patch)
tree9a7481f95550b2386371aa4380117cdbbb49557f /plugins/gpu_neon/psx_gpu/tests/Makefile
parentc979c3ee0d0bc6bece799a6f4013993d7cb2d5f3 (diff)
downloadpcsx_rearmed-f82c62507c67309b9c020a54f6c848853d39febe.tar.gz
pcsx_rearmed-f82c62507c67309b9c020a54f6c848853d39febe.tar.bz2
pcsx_rearmed-f82c62507c67309b9c020a54f6c848853d39febe.zip
psx_gpu: standalone test build + tweaks
Diffstat (limited to 'plugins/gpu_neon/psx_gpu/tests/Makefile')
-rw-r--r--plugins/gpu_neon/psx_gpu/tests/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/plugins/gpu_neon/psx_gpu/tests/Makefile b/plugins/gpu_neon/psx_gpu/tests/Makefile
new file mode 100644
index 0000000..210f44d
--- /dev/null
+++ b/plugins/gpu_neon/psx_gpu/tests/Makefile
@@ -0,0 +1,26 @@
+CC = $(CROSS_COMPILE)gcc
+CFLAGS += -DTEXTURE_CACHE_4BPP -DTEXTURE_CACHE_8BPP
+CFLAGS += -Wall -ggdb
+
+CFLAGS += `sdl-config --cflags`
+LDFLAGS += `sdl-config --libs`
+
+VPATH += ..
+
+ifdef NEON
+CFLAGS += -mcpu=cortex-a8 -mfpu=neon -DNEON_BUILD
+ASFLAGS = $(CFLAGS)
+OBJ += psx_gpu_arm_neon.o
+endif
+ifndef DEBUG
+CFLAGS += -O2 -fno-strict-aliasing
+endif
+
+OBJ += psx_gpu.o psx_gpu_parse.o psx_gpu_main.o
+
+all: psx_gpu
+
+psx_gpu: $(OBJ)
+
+clean:
+ $(RM) psx_gpu $(OBJ)