X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c661ecca60bd71a6d4561425da832cb9e0b30d67..4fcd60c72f6b90f5063f7000ff5a80a9004055a3:/samples/opengl/isosurf/makefile.unx diff --git a/samples/opengl/isosurf/makefile.unx b/samples/opengl/isosurf/makefile.unx index fbb993eb4c..86c4c5a6a4 100644 --- a/samples/opengl/isosurf/makefile.unx +++ b/samples/opengl/isosurf/makefile.unx @@ -9,6 +9,10 @@ # # Makefile for isosurf example (UNIX). +OPENGL_LIBS=-lGL -lGLU +#if you have old Mesa, try this: +#OPENGL_LIBS=-lMesaGL -lMesaGLU + PROGRAM=isosurf CC = gcc @@ -25,7 +29,7 @@ OBJECTS = $(PROGRAM).o all: $(PROGRAM) isosurf.dat $(PROGRAM): $(OBJECTS) - $(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` -lwx_gtk_gl -lMesaGL -lMesaGLU + $(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` -lwx_gtk_gl $(OPENGL_LIBS) clean: rm -f *.o $(PROGRAM)