c111e8f8 |
1 | CFLAGS += -ggdb -Wall -O2 -DNDEBUG |
56f08d83 |
2 | |
4132e8ca |
3 | include ../../config.mak |
7d993ee2 |
4 | |
62d7fa95 |
5 | SRC += psx_gpu_if.c |
b78edec7 |
6 | |
5a920d32 |
7 | CFLAGS += -I../../include |
62d7fa95 |
8 | CFLAGS += -DTEXTURE_CACHE_4BPP -DTEXTURE_CACHE_8BPP |
62d7fa95 |
9 | CFLAGS += -DNEON_BUILD |
57467c77 |
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 |
b78edec7 |
17 | else |
62d7fa95 |
18 | CFLAGS += -fno-strict-aliasing |
b78edec7 |
19 | endif |
6f2ee2be |
20 | |
62d7fa95 |
21 | BIN_GPULIB = gpu_neon.so |
22 | include ../gpulib/gpulib.mak |