aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu-gles/Makefile
diff options
context:
space:
mode:
authornotaz2012-01-21 23:22:30 +0200
committernotaz2012-01-21 23:22:30 +0200
commitbb88ec28db0535102b70a7c18ef095cb904e3c6c (patch)
tree29b8be7a70d4133266e2dba2917b8b8b3bdc30cc /plugins/gpu-gles/Makefile
parentedee4a7fc46dd881c2a45d14ce569fbfd8336516 (diff)
downloadpcsx_rearmed-bb88ec28db0535102b70a7c18ef095cb904e3c6c.tar.gz
pcsx_rearmed-bb88ec28db0535102b70a7c18ef095cb904e3c6c.tar.bz2
pcsx_rearmed-bb88ec28db0535102b70a7c18ef095cb904e3c6c.zip
gpu-gles: refactor for caanoo/wiz support
too bad it's unusable there.
Diffstat (limited to 'plugins/gpu-gles/Makefile')
-rw-r--r--plugins/gpu-gles/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/gpu-gles/Makefile b/plugins/gpu-gles/Makefile
index 241fad0..06552ed 100644
--- a/plugins/gpu-gles/Makefile
+++ b/plugins/gpu-gles/Makefile
@@ -8,7 +8,13 @@ SRC_STANDALONE += gpuDraw.c gpuFps.c gpuPlugin.c gpuPrim.c gpuTexture.c
SRC_GPULIB += gpulib_if.c
CFLAGS += -I$(PREFIX)include
-LDLIBS += -L$(PREFIX)lib -lGLES_CM
+LDLIBS += -L$(PREFIX)lib
+ifeq "$(PLATFORM)" "caanoo"
+CFLAGS += -DFAKE_WINDOW
+LDLIBS += -lopengles_lite -lstdc++
+else
+LDLIBS += -lGLES_CM
+endif
BIN_STANDLALONE = gpuGLES.so
BIN_GPULIB = gpu_gles.so