gpu_unai: update CFLAGS
[pcsx_rearmed.git] / plugins / gpu_unai / Makefile
... / ...
CommitLineData
1CC = $(CROSS_COMPILE)g++
2
3ARCH = $(shell $(CC) -v 2>&1 | grep -i 'target:' | awk '{print $$2}' | awk -F '-' '{print $$1}')
4
5CFLAGS += -DREARMED
6CFLAGS += -ggdb -Wall -O3 -ffast-math
7
8SRC_STANDALONE += gpu.cpp
9SRC_GPULIB += gpulib_if.cpp
10
11ifeq "$(ARCH)" "arm"
12SRC += gpu_arm.s
13endif
14
15BIN_STANDLALONE = gpuPCSX4ALL.so
16BIN_GPULIB = gpu_unai.so
17include ../gpulib/gpulib.mak