]>
Commit | Line | Data |
---|---|---|
b1170810 RR |
1 | # |
2 | # File: Makefile | |
3 | # Author: Robert Roebling | |
4 | # Created: 1999 | |
5 | # Updated: | |
6 | # Copyright: (c) 1998 Robert Roebling | |
7 | # | |
8 | # Makefile for OpenGL demo (GTK version) | |
9 | # | |
10 | # This makefile requires wxWindows/GTK to be | |
11 | # installed (possibly using "make install") | |
12 | # on your system. | |
13 | # | |
aae24d21 RR |
14 | |
15 | CPP = g++ | |
16 | CC = gcc | |
17 | ||
18 | Penguin: penguin.o trackball.o lw.o glcanvas.o | |
19 | $(CPP) -o Penguin \ | |
20 | penguin.o trackball.o lw.o glcanvas.o \ | |
21 | `wx-config --libs` -lMesaGL -lMesaGLU | |
22 | ||
23 | penguin.o: penguin.cpp | |
5aa5e35a | 24 | $(CPP) `wx-config --cflags` -I../../gtk -c penguin.cpp |
aae24d21 | 25 | |
45b5751f | 26 | lw.o: lw.cpp |
5aa5e35a | 27 | $(CPP) `wx-config --cflags` -I../../gtk -c lw.cpp |
aae24d21 RR |
28 | |
29 | trackball.o: trackball.c | |
5aa5e35a | 30 | $(CC) `wx-config --cflags` -I../../gtk -c trackball.c |
aae24d21 | 31 | |
5aa5e35a RR |
32 | glcanvas.o: ../../gtk/glcanvas.cpp |
33 | $(CPP) `wx-config --cflags` `gtk-config --cflags` -I../../gtk -c ../../gtk/glcanvas.cpp | |
aae24d21 RR |
34 | |
35 | clean: | |
f6fcbb63 | 36 | rm -f *.o Penguin |