]> git.saurik.com Git - wxWidgets.git/blob - utils/glcanvas/samples/penguin/Makefile
Removed lots of OnClose functions; doc'ed OnCloseWindow better;
[wxWidgets.git] / utils / glcanvas / samples / penguin / 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 CPP = g++
16 CC = gcc
17
18 Penguin: penguin.o trackball.o lw.o glcanvas.o
19 $(CPP) -o Penguin \
20 penguin.o trackball.o lw.o glcanvas.o \
21 `wx-config --libs` -lMesaGL -lMesaGLU
22
23 penguin.o: penguin.cpp
24 $(CPP) `wx-config --cflags` -I../../gtk -c penguin.cpp
25
26 lw.o: lw.cpp
27 $(CPP) `wx-config --cflags` -I../../gtk -c lw.cpp
28
29 trackball.o: trackball.c
30 $(CC) `wx-config --cflags` -I../../gtk -c trackball.c
31
32 glcanvas.o: ../../gtk/glcanvas.cpp
33 $(CPP) `wx-config --cflags` `gtk-config --cflags` -I../../gtk -c ../../gtk/glcanvas.cpp
34
35 clean:
36 rm -f *.o Penguin