]>
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 | CC = g++ | |
16 | ||
17 | cube: cube.o glcanvas.o | |
18 | $(CC) -o cube \ | |
19 | cube.o glcanvas.o \ | |
20 | `wx-config --libs` -lMesaGL -lMesaGLU | |
21 | ||
22 | cube.o: cube.cpp | |
b1170810 | 23 | $(CC) `wx-config --cflags` -I../../gtk -c cube.cpp |
aae24d21 | 24 | |
b1170810 RR |
25 | glcanvas.o: ../../gtk/glcanvas.cpp |
26 | $(CC) `wx-config --cflags` `gtk-config --cflags` -I../../gtk -c ../../gtk/glcanvas.cpp | |
aae24d21 RR |
27 | |
28 | clean: | |
29 | rm -f *.o cube |