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