gpu_neon: partially support range regs
[pcsx_rearmed.git] / plugins / gpu_neon / Makefile
CommitLineData
1ab64c54 1CC = $(CROSS_COMPILE)gcc
56f08d83 2
3ARCH = $(shell $(CC) -v 2>&1 | grep -i 'target:' | awk '{print $$2}' | awk -F '-' '{print $$1}')
4
5CFLAGS += -ggdb -Wall -fPIC -O2
1ab64c54
GI
6
7TARGET = gpu_neon.so
8LDFLAGS += -shared -Wl,-soname,$(TARGET)
56f08d83 9SRC += gpu.c
10ifeq "$(ARCH)" "arm"
11CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
12SRC += vout_fb.c ../../frontend/arm_utils.s
13else
14CFLAGS += `sdl-config --cflags` -m32
15LDFLAGS += `sdl-config --libs`
16SRC += vout_sdl.c
17endif
ddd56f6e 18PEOPS=1
56f08d83 19ifndef PEOPS
20else
21SRC += peops.c
22endif
1ab64c54
GI
23
24all: $(TARGET)
25
26$(TARGET): $(SRC)
27 $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)
28
29clean:
30 $(RM) $(TARGET)