7890a708 |
1 | CFLAGS += -ggdb -fPIC -O2 # -Wall\r |
de38f20e |
2 | \r |
4132e8ca |
3 | include ../../config.mak\r |
4 | \r |
7890a708 |
5 | SRC_STANDALONE += gpuDraw.c gpuFps.c gpuPlugin.c gpuPrim.c gpuTexture.c\r |
6 | SRC_GPULIB += gpulib_if.c\r |
7eadbf88 |
7 | \r |
7890a708 |
8 | CFLAGS += -I$(PREFIX)include\r |
4ea086f6 |
9 | LDFLAGS += -Wl,--allow-multiple-definition\r |
bb88ec28 |
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 | LDLIBS += -lGLES_CM\r |
16 | endif\r |
7eadbf88 |
17 | \r |
7890a708 |
18 | BIN_STANDLALONE = gpuGLES.so\r |
19 | BIN_GPULIB = gpu_gles.so\r |
20 | include ../gpulib/gpulib.mak\r |