Merge git://github.com/notaz/pcsx_rearmed
[pcsx_rearmed.git] / plugins / gpu-gles / Makefile
1 CFLAGS += -ggdb -fPIC -O2 # -Wall\r
2 \r
3 include ../../config.mak\r
4 \r
5 SRC_STANDALONE += gpuDraw.c gpuFps.c gpuPlugin.c gpuPrim.c gpuTexture.c\r
6 SRC_GPULIB += gpulib_if.c\r
7 \r
8 CFLAGS += -I$(PREFIX)include\r
9 LDFLAGS += -Wl,--allow-multiple-definition\r
10 LDLIBS += -L$(PREFIX)lib\r
11 ifeq "$(PLATFORM)" "caanoo"\r
12 CFLAGS += -DFAKE_WINDOW\r
13 LDLIBS += -lopengles_lite -lstdc++\r
14 else\r
15 CFLAGS += $(CFLAGS_GLES)\r
16 LDLIBS += $(LDLIBS_GLES)\r
17 endif\r
18 \r
19 BIN_STANDLALONE = gpuGLES.so\r
20 BIN_GPULIB = gpu_gles.so\r
21 include ../gpulib/gpulib.mak\r