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 |
5b9aa749 |
15 | CFLAGS += $(CFLAGS_GLES)\r |
16 | LDLIBS += $(LDLIBS_GLES)\r |
bb88ec28 |
17 | endif\r |
7eadbf88 |
18 | \r |
7890a708 |
19 | BIN_STANDLALONE = gpuGLES.so\r |
20 | BIN_GPULIB = gpu_gles.so\r |
21 | include ../gpulib/gpulib.mak\r |