From 3b21507274aa4f98644382903ae529c1fc2c7bd4 Mon Sep 17 00:00:00 2001 From: inmarket Date: Wed, 20 Aug 2014 01:36:33 +1000 Subject: GL3D GWIN window + demo --- 3rdparty/tinygl-0.4-ugfx/config.mk | 82 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 3rdparty/tinygl-0.4-ugfx/config.mk (limited to '3rdparty/tinygl-0.4-ugfx/config.mk') diff --git a/3rdparty/tinygl-0.4-ugfx/config.mk b/3rdparty/tinygl-0.4-ugfx/config.mk new file mode 100644 index 00000000..5ec62ba9 --- /dev/null +++ b/3rdparty/tinygl-0.4-ugfx/config.mk @@ -0,0 +1,82 @@ +##################################################################### +# C compiler + +# linux +CC= gcc +CFLAGS= -g -Wall -O2 +LFLAGS= + +# for BeOS PPC +#CC= mwcc +#CFLAGS= -I. -i- +#LFLAGS= + +##################################################################### +# TinyGL configuration + +##################################################################### +# Select window API for TinyGL: + +# standard X11 GLX like API +TINYGL_USE_GLX=y + +# BEOS API +#TINYGL_USE_BEOS=y + +# Micro Windows NanoX API +#TINYGL_USE_NANOX=y + +##################################################################### +# X11 configuration (for the examples only) + +ifdef TINYGL_USE_GLX +# Linux +UI_LIBS= -L/usr/X11R6/lib -lX11 -lXext +UI_INCLUDES= +# Solaris +#UI_LIBS= -L/usr/X11/lib -lX11 -lXext -lsocket -lnsl +#UI_INCLUDES= + +UI_OBJS=x11.o +endif + +##################################################################### +# Micro windowX11 configuration (for the examples only) + +ifdef TINYGL_USE_NANOX +UI_LIBS= -lnano-X -lmwengine -lmwdrivers -lmwfonts +UI_INCLUDES= + +# X11 target for nanoX +UI_LIBS+= -L/usr/X11R6/lib -lX11 -lXext + +UI_OBJS=nanox.o +endif + +##################################################################### +# OpenGL configuration (for the examples only) + +# use TinyGL +GL_LIBS= -L../lib -lTinyGL +GL_INCLUDES= -I../include +GL_DEPS= ../lib/libTinyGL.a + +# use Mesa +#GL_LIBS= -lMesaGL +#GL_INCLUDES= +#GL_DEPS= + +# use OpenGL +#GL_LIBS= -lGL +#GL_INCLUDES= +#GL_DEPS= + +#################################################################### +# Compile and link control + +# UNIX systems +DIRS= src examples + +# BeOS +# DIRS= src BeOS + -- cgit v1.2.3