1 CFLAGS += -ggdb -fPIC -O2 # -Wall
\r
3 include ../../config.mak
\r
5 SRC_STANDALONE += gpuDraw.c gpuFps.c gpuPlugin.c gpuPrim.c gpuTexture.c
\r
6 SRC_GPULIB += gpulib_if.c
\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
15 CFLAGS += $(CFLAGS_GLES)
\r
16 LDLIBS += $(LDLIBS_GLES)
\r
19 BIN_STANDLALONE = gpuGLES.so
\r
20 BIN_GPULIB = gpu_gles.so
\r
21 include ../gpulib/gpulib.mak
\r