810809971a705f7ef2eba04ac96690693b5ae1ed
[pcsx_rearmed.git] / plugins / gpu_neon / Makefile
1 CFLAGS += -ggdb -Wall -O2 -DNDEBUG
2
3 include ../../config.mak
4
5 SRC += psx_gpu_if.c
6
7 CFLAGS += -I../../include
8 CFLAGS += -DTEXTURE_CACHE_4BPP -DTEXTURE_CACHE_8BPP
9 CFLAGS += -DNEON_BUILD
10 ifeq "$(HAVE_NEON)" "1"
11  ifeq "$(HAVE_NEON_ASM)" "1"
12  SRC += psx_gpu/psx_gpu_arm_neon.S
13  else
14  OBJS += psx_gpu/psx_gpu_simd.c
15  CFLAGS += -DSIMD_BUILD
16  endif
17 else
18 CFLAGS += -fno-strict-aliasing
19 endif
20
21 BIN_GPULIB = gpu_neon.so
22 include ../gpulib/gpulib.mak