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