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
Fix input not responding
[pcsx_rearmed.git]
/
plugins
/
gpu-gles
/
Makefile
diff --git
a/plugins/gpu-gles/Makefile
b/plugins/gpu-gles/Makefile
index
241fad0
..
e914764
100644
(file)
--- a/
plugins/gpu-gles/Makefile
+++ b/
plugins/gpu-gles/Makefile
@@
-1,15
+1,21
@@
-CC = $(CROSS_COMPILE)gcc
\r
-
\r
-ARCH = $(shell $(CC) -v 2>&1 | grep -i 'target:' | awk '{print $$2}' | awk -F '-' '{print $$1}')
\r
-
\r
CFLAGS += -ggdb -fPIC -O2 # -Wall
\r
\r
CFLAGS += -ggdb -fPIC -O2 # -Wall
\r
\r
+include ../../config.mak
\r
+
\r
SRC_STANDALONE += gpuDraw.c gpuFps.c gpuPlugin.c gpuPrim.c gpuTexture.c
\r
SRC_GPULIB += gpulib_if.c
\r
\r
CFLAGS += -I$(PREFIX)include
\r
SRC_STANDALONE += gpuDraw.c gpuFps.c gpuPlugin.c gpuPrim.c gpuTexture.c
\r
SRC_GPULIB += gpulib_if.c
\r
\r
CFLAGS += -I$(PREFIX)include
\r
-LDLIBS += -L$(PREFIX)lib -lGLES_CM
\r
+LDFLAGS += -Wl,--allow-multiple-definition
\r
+LDLIBS += -L$(PREFIX)lib
\r
+ifeq "$(PLATFORM)" "caanoo"
\r
+CFLAGS += -DFAKE_WINDOW
\r
+LDLIBS += -lopengles_lite -lstdc++
\r
+else
\r
+CFLAGS += $(CFLAGS_GLES)
\r
+LDLIBS += $(LDLIBS_GLES)
\r
+endif
\r
\r
\r
-
BIN_STANDL
ALONE = gpuGLES.so
\r
+
#BIN_STAND
ALONE = gpuGLES.so
\r
BIN_GPULIB = gpu_gles.so
\r
include ../gpulib/gpulib.mak
\r
BIN_GPULIB = gpu_gles.so
\r
include ../gpulib/gpulib.mak
\r