drc: move constmap out of regstat
[pcsx_rearmed.git] / plugins / gpu_unai / Makefile
... / ...
CommitLineData
1CC = $(CROSS_COMPILE)gcc
2
3CFLAGS += -ggdb -fPIC -Wall -DREARMED
4ifndef DEBUG
5CFLAGS += -O2 -ffast-math -fomit-frame-pointer
6endif
7ifdef MAEMO
8CFLAGS += -DMAEMO
9endif
10ARM_CORTEXA8 ?= 1
11ifeq "$(ARM_CORTEXA8)" "1"
12CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
13SRC += ../../frontend/cspace_neon.s
14else
15CFLAGS += -mcpu=arm926ej-s -mtune=arm926ej-s
16SRC += ../../frontend/cspace.c
17endif
18
19SRC += gpu.cpp
20
21TARGET = gpuPCSX4ALL.so
22LDFLAGS += -shared -Wl,-soname,$(TARGET)
23
24-include Makefile.local
25
26all: $(TARGET)
27
28$(TARGET): $(SRC)
29 $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)
30
31# $(TARGET): *.h
32
33clean:
34 $(RM) $(TARGET) $(OBJ)