From bb88ec28db0535102b70a7c18ef095cb904e3c6c Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 21 Jan 2012 23:22:30 +0200 Subject: gpu-gles: refactor for caanoo/wiz support too bad it's unusable there. --- plugins/gpu-gles/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'plugins/gpu-gles/Makefile') 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 -- cgit v1.2.3