aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_unai/Makefile
blob: dd9e4cadedb79f71789676d169e9173e29294986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CC = $(CROSS_COMPILE)g++

ARCH = $(shell $(CC) -v 2>&1 | grep -i 'target:' | awk '{print $$2}' | awk -F '-' '{print $$1}')

CFLAGS += -DREARMED
CFLAGS += -ggdb -Wall -fPIC -O2 -ffast-math

SRC_STANDALONE += gpu.cpp
SRC_GPULIB += gpulib_if.cpp

ifeq "$(ARCH)" "arm"
SRC += gpu_arm.s
endif

BIN_STANDLALONE = gpuPCSX4ALL.so
BIN_GPULIB = gpu_unai.so
include ../gpulib/gpulib.mak