]> git.saurik.com Git - wxWidgets.git/blob - utils/glcanvas/samples/penguin/Makefile
Added #include "wx/bitmap.h"
[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 = gcc
16 CC = gcc
17 WXCONFIG=../../../../wx-config
18 WXINCLUDE=-I../../../../include
19 WXLIB=-L../../../../lib
20
21 Penguin: penguin.o trackball.o lw.o glcanvas.o
22 $(CPP) -o Penguin penguin.o trackball.o lw.o glcanvas.o `$(WXCONFIG) --libs` $(WXLIB) -lMesaGL -lMesaGLU
23
24 penguin.o: penguin.cpp
25 $(CPP) `$(WXCONFIG) --cflags` -I../../gtk $(WXINCLUDE) -c penguin.cpp
26
27 lw.o: lw.cpp
28 $(CPP) `$(WXCONFIG) --cflags` -I../../gtk $(WXINCLUDE) -c lw.cpp
29
30 trackball.o: trackball.c
31 $(CC) `$(WXCONFIG) --cflags` -I../../gtk $(WXINCLUDE) -c trackball.c
32
33 glcanvas.o: ../../gtk/glcanvas.cpp
34 $(CPP) `$(WXCONFIG) --cflags` `gtk-config --cflags` -g -I../../gtk $(WXINCLUDE) -c ../../gtk/glcanvas.cpp
35
36 clean:
37 rm -f *.o Penguin