1 CC = $(CROSS_COMPILE)gcc
3 ARCH = $(shell $(CC) -v 2>&1 | grep -i 'target:' | awk '{print $$2}' | awk -F '-' '{print $$1}')
5 CFLAGS += -ggdb -Wall -fPIC -O2
7 LDFLAGS += -shared -Wl,-soname,$(TARGET)
11 CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
12 SRC += vout_fb.c ../../frontend/arm_utils.s
14 TARGET = gpu_neon.so.x86
15 CFLAGS += `sdl-config --cflags` -m32
16 LDFLAGS += `sdl-config --libs`
29 $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)