]>
Commit | Line | Data |
---|---|---|
8b089c5e JS |
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 | CC = g++ | |
16 | WXCONFIG=../../../wx-config | |
17 | WXINCLUDE=-I../../../include | |
18 | WXLIB=-L../../../lib | |
19 | ||
20 | isosurf: isosurf.o # glcanvas.o | |
21 | $(CC) -o isosurf \ | |
22 | isosurf.o \ | |
23 | `$(WXCONFIG) --libs` $(WXLIB) -lMesaGL -lMesaGLU | |
24 | ||
25 | isosurf.o: isosurf.cpp | |
26 | $(CC) `$(WXCONFIG) --cflags` -I../../gtk $(WXINCLUDE) -c isosurf.cpp | |
27 | ||
28 | glcanvas.o: ../../gtk/glcanvas.cpp | |
29 | $(CC) `$(WXCONFIG) --cflags` `gtk-config --cflags` -I../../gtk -c $(WXINCLUDE) ../../gtk/glcanvas.cpp | |
30 | ||
31 | clean: | |
32 | rm -f *.o isosurf |