]> git.saurik.com Git - wxWidgets.git/blob - utils/glcanvas/samples/cube/Makefile
2b48e8478a8587d97f810faddb4af9717cf49f91
[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 = gcc
16
17 cube: cube.o glcanvas.o
18 $(CC) -o cube cube.o glcanvas.o `wx-config --libs` -lMesaGL -lMesaGLU
19
20 cube.o: cube.cpp
21 $(CC) `wx-config --cflags` -I../../gtk -c cube.cpp
22
23 glcanvas.o: ../../gtk/glcanvas.cpp
24 $(CC) `wx-config --cflags` `gtk-config --cflags` -I../../gtk -c ../../gtk/glcanvas.cpp
25
26 clean:
27 rm -f *.o cube