]>
Commit | Line | Data |
---|---|---|
c8c5323c 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 | # | |
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 | |
1d61ebac | 24 | $(CPP) `wx-config --cflags` -g -I../../gtk -c penguin.cpp |
c8c5323c RR |
25 | |
26 | lw.o: lw.cpp | |
27 | $(CPP) `wx-config --cflags` -I../../gtk -c lw.cpp | |
28 | ||
29 | trackball.o: trackball.c | |
30 | $(CC) `wx-config --cflags` -I../../gtk -c trackball.c | |
31 | ||
32 | glcanvas.o: ../../gtk/glcanvas.cpp | |
1d61ebac | 33 | $(CPP) `wx-config --cflags` `gtk-config --cflags` -g -I../../gtk -c ../../gtk/glcanvas.cpp |
c8c5323c RR |
34 | |
35 | clean: | |
36 | rm -f *.o Penguin |