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
20 OBJECTS = $(PROGRAM).o
27 $(CC) -c `wx-config --cflags` -o $@ $<
29 all: $(PROGRAM) isosurf.dat
31 $(PROGRAM): $(OBJECTS)
32 $(CC) -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