drc: merge Ari64's patch: 20_delay_slot_64bit_register_fix
[pcsx_rearmed.git] / plugins / gpu_unai / Makefile
1 CC = $(CROSS_COMPILE)gcc
2
3 CFLAGS += -ggdb -fPIC -Wall -DREARMED
4 ifndef DEBUG
5 CFLAGS += -O2 -ffast-math -fomit-frame-pointer
6 endif
7 ifdef MAEMO
8 CFLAGS += -DMAEMO
9 endif
10 CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
11 # -fschedule-insns (from -O2+) causes bugs, probably bad asm() statements
12 CFLAGS += -fno-schedule-insns -fno-schedule-insns2
13
14 TARGET = gpuPCSX4ALL.so
15 LDFLAGS += -shared -Wl,-soname,$(TARGET)
16
17 -include Makefile.local
18
19 all: $(TARGET)
20
21 $(TARGET): gpu.cpp ../../frontend/arm_utils.s
22         $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)
23
24 # $(TARGET): *.h
25
26 clean:
27         $(RM) $(TARGET) $(OBJ)