gpu_neon: revive the old tests
[pcsx_rearmed.git] / plugins / gpu_neon / psx_gpu / tests / Makefile
CommitLineData
f82c6250 1CC = $(CROSS_COMPILE)gcc
2CFLAGS += -DTEXTURE_CACHE_4BPP -DTEXTURE_CACHE_8BPP
3CFLAGS += -Wall -ggdb
a2fc8070 4CFLAGS += -fno-strict-aliasing
f82c6250 5
6CFLAGS += `sdl-config --cflags`
52fb8909 7LDLIBS += `sdl-config --libs`
f82c6250 8
9VPATH += ..
10
11ifdef NEON
12CFLAGS += -mcpu=cortex-a8 -mfpu=neon -DNEON_BUILD
13ASFLAGS = $(CFLAGS)
14OBJ += psx_gpu_arm_neon.o
52fb8909 15else
16CFLAGS += -DNEON_BUILD -DSIMD_BUILD
17OBJ += psx_gpu_simd.o
f82c6250 18endif
19ifndef DEBUG
a2fc8070 20CFLAGS += -O2 -DNDEBUG
f82c6250 21endif
22
23OBJ += psx_gpu.o psx_gpu_parse.o psx_gpu_main.o
24
25all: psx_gpu
26
27psx_gpu: $(OBJ)
28
29clean:
30 $(RM) psx_gpu $(OBJ)