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