aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu-gles/Makefile
blob: 894daec560a5b0efdc0c8af6ae74bbd6e7ddd2d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CFLAGS += -ggdb -fPIC -O2 # -Wall

include ../../config.mak

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
ifeq "$(PLATFORM)" "caanoo"
CFLAGS += -DFAKE_WINDOW
LDLIBS += -lopengles_lite -lstdc++
else
LDLIBS += -lGLES_CM
endif

BIN_STANDLALONE = gpuGLES.so
BIN_GPULIB = gpu_gles.so
include ../gpulib/gpulib.mak