]> git.saurik.com Git - wxWidgets.git/blob - utils/glcanvas/samples/cube/Makefile
wizard.h added to the list of headers
[wxWidgets.git] / utils / glcanvas / samples / 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 = 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
23 $(CC) `wx-config --cflags` -I../../gtk -c cube.cpp
24
25 glcanvas.o: ../../gtk/glcanvas.cpp
26 $(CC) `wx-config --cflags` `gtk-config --cflags` -I../../gtk -c ../../gtk/glcanvas.cpp
27
28 clean:
29 rm -f *.o cube