6 # Copyright: (c) 1998 Julian Smart
10 # Makefile for isosurf example (UNIX).
12 OPENGL_LIBS=-lGL -lGLU
13 #if you have old Mesa, try this:
14 #OPENGL_LIBS=-lMesaGL -lMesaGLU
18 CXX = $(shell wx-config --cxx)
20 OBJECTS = $(PROGRAM).o
27 $(CXX) -c `wx-config --cxxflags` -o $@ $<
29 all: $(PROGRAM) isosurf.dat
31 $(PROGRAM): $(OBJECTS)
32 $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` -lwx_gtk_gl $(OPENGL_LIBS)
37 isosurf.dat: isosurf.dat.gz
38 gzip -c -d isosurf.dat.gz > isosurf.dat