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