3 # Author: Robert Roebling
6 # Copyright: (c) 1998 Robert Roebling
8 # Makefile for OpenGl demo (GTK version)
10 # This makefile requires wxWindows/GTK to be
11 # installed (possibly using "make install")
16 WXCONFIG=../../../../wx-config
17 WXINCLUDE=-I../../../../include
18 WXLIB=-L../../../../lib
20 cube: cube.o glcanvas.o
21 $(CC) -o cube cube.o glcanvas.o `$(WXCONFIG) --libs` $(WXLIB) -lMesaGL -lMesaGLU
24 $(CC) `$(WXCONFIG) --cflags` -I../../gtk $(WXINCLUDE) -c cube.cpp
26 glcanvas.o: ../../gtk/glcanvas.cpp
27 $(CC) `$(WXCONFIG) --cflags` `gtk-config --cflags` -I../../gtk $(WXINCLUDE) -c ../../gtk/glcanvas.cpp