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")
17 WXCONFIG=../../../../wx-config
18 WXINCLUDE=-I../../../../include
19 WXLIB=-L../../../../lib
21 Penguin: penguin.o trackball.o lw.o glcanvas.o
22 $(CPP) -o Penguin penguin.o trackball.o lw.o glcanvas.o `$(WXCONFIG) --libs` $(WXLIB) -lMesaGL -lMesaGLU
24 penguin.o: penguin.cpp
25 $(CPP) `$(WXCONFIG) --cflags` -I../../gtk $(WXINCLUDE) -c penguin.cpp
28 $(CPP) `$(WXCONFIG) --cflags` -I../../gtk $(WXINCLUDE) -c lw.cpp
30 trackball.o: trackball.c
31 $(CC) `$(WXCONFIG) --cflags` -I../../gtk $(WXINCLUDE) -c trackball.c
33 glcanvas.o: ../../gtk/glcanvas.cpp
34 $(CPP) `$(WXCONFIG) --cflags` `gtk-config --cflags` -g -I../../gtk $(WXINCLUDE) -c ../../gtk/glcanvas.cpp