aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_neon/psx_gpu/tests/Makefile
blob: bb91a5a8849d2da041391b8879e4d08ff1fc640d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
CC = $(CROSS_COMPILE)gcc
CFLAGS += -DTEXTURE_CACHE_4BPP -DTEXTURE_CACHE_8BPP
CFLAGS += -Wall -ggdb
CFLAGS += -fno-strict-aliasing

CFLAGS += `sdl-config --cflags`
LDFLAGS += `sdl-config --libs`

VPATH += ..

ifdef NEON
CFLAGS += -mcpu=cortex-a8 -mfpu=neon -DNEON_BUILD
ASFLAGS = $(CFLAGS)
OBJ += psx_gpu_arm_neon.o
endif
ifndef DEBUG
CFLAGS += -O2 -DNDEBUG
endif

OBJ += psx_gpu.o psx_gpu_parse.o psx_gpu_main.o

all: psx_gpu

psx_gpu: $(OBJ)

clean:
	$(RM) psx_gpu $(OBJ)