6 # Copyright: (c) 1998 Julian Smart
10 # Makefile for cube 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 $@ $<
31 $(PROGRAM): $(OBJECTS)
32 $(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` -lwx_gtk_gl $(OPENGL_LIBS)