]> git.saurik.com Git - wxWidgets.git/blob - samples/opengl/cube/Makefile
added a note about where to find makegen
[wxWidgets.git] / samples / opengl / cube / Makefile
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 = gcc
16 WXCONFIG=../../../wx-config
17 WXINCLUDE=-I../../../include
18 WXLIB=-L../../../lib
19
20 cube: cube.o # glcanvas.o
21 $(CC) -o cube cube.o `$(WXCONFIG) --libs` $(WXLIB) -lMesaGL -lMesaGLU
22
23 cube.o: cube.cpp
24 $(CC) `$(WXCONFIG) --cflags` -I../../gtk $(WXINCLUDE) -c cube.cpp
25
26 glcanvas.o: ../../gtk/glcanvas.cpp
27 $(CC) `$(WXCONFIG) --cflags` `gtk-config --cflags` -I../../gtk $(WXINCLUDE) -c ../../gtk/glcanvas.cpp
28
29 clean:
30 rm -f *.o cube
31