aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_neon/psx_gpu/tests/Makefile
blob: 210f44d6627036790fad985fa0fa0cf39faf57ac (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
CC = $(CROSS_COMPILE)gcc
CFLAGS += -DTEXTURE_CACHE_4BPP -DTEXTURE_CACHE_8BPP
CFLAGS += -Wall -ggdb

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 -fno-strict-aliasing
endif

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

all: psx_gpu

psx_gpu: $(OBJ)

clean:
	$(RM) psx_gpu $(OBJ)