1 CC = $(CROSS_COMPILE)gcc
3 CFLAGS += -ggdb -fPIC -Wall -DREARMED
5 CFLAGS += -O2 -ffast-math -fomit-frame-pointer
11 ifeq "$(ARM_CORTEXA8)" "1"
12 CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
13 SRC += ../../frontend/cspace_neon.s
15 CFLAGS += -mcpu=arm926ej-s -mtune=arm926ej-s
16 SRC += ../../frontend/cspace.c
19 SRC += gpu.cpp gpu_arm.s
21 TARGET = gpuPCSX4ALL.so
22 LDFLAGS += -shared -Wl,-soname,$(TARGET)
24 -include Makefile.local
29 $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)
34 $(RM) $(TARGET) $(OBJ)