X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c661ecca60bd71a6d4561425da832cb9e0b30d67..8b6e6947fc8fb946391740d66b140413eccb6b6c:/samples/opengl/penguin/makefile.unx diff --git a/samples/opengl/penguin/makefile.unx b/samples/opengl/penguin/makefile.unx index 2add0896b3..aaea80b74b 100644 --- a/samples/opengl/penguin/makefile.unx +++ b/samples/opengl/penguin/makefile.unx @@ -7,13 +7,17 @@ # # Makefile for penguin example (UNIX). +OPENGL_LIBS=-lGL -lGLU +#if you have old Mesa, try this: +#OPENGL_LIBS=-lMesaGL -lMesaGLU + CPP = g++ CC = gcc Penguin: penguin.o trackball.o lw.o $(CPP) -o Penguin \ penguin.o trackball.o lw.o \ - `wx-config --libs` -lwx_gtk_gl -lMesaGL -lMesaGLU + `wx-config --libs` -lwx_gtk_gl $(OPENGL_LIBS) penguin.o: penguin.cpp $(CPP) `wx-config --cflags` -I../../gtk -c penguin.cpp