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