notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
try to fix r-pi build
[pcsx_rearmed.git]
/
plugins
/
gpu_unai
/
Makefile
diff --git
a/plugins/gpu_unai/Makefile
b/plugins/gpu_unai/Makefile
index
57a0371
..
1075ee5
100644
(file)
--- a/
plugins/gpu_unai/Makefile
+++ b/
plugins/gpu_unai/Makefile
@@
-1,9
+1,8
@@
-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 -O3 -ffast-math
CFLAGS += -ggdb -Wall -O3 -ffast-math
+CFLAGS += -DREARMED
+CFLAGS += -I../../include
+
+include ../../config.mak
SRC_STANDALONE += gpu.cpp
SRC_GPULIB += gpulib_if.cpp
SRC_STANDALONE += gpu.cpp
SRC_GPULIB += gpulib_if.cpp
@@
-12,6
+11,6
@@
ifeq "$(ARCH)" "arm"
SRC += gpu_arm.s
endif
SRC += gpu_arm.s
endif
-
BIN_STANDL
ALONE = gpuPCSX4ALL.so
+
#BIN_STAND
ALONE = gpuPCSX4ALL.so
BIN_GPULIB = gpu_unai.so
include ../gpulib/gpulib.mak
BIN_GPULIB = gpu_unai.so
include ../gpulib/gpulib.mak