]> git.saurik.com Git - wxWidgets.git/blame - utils/glcanvas/samples/penguin/Makefile
Removed lots of OnClose functions; doc'ed OnCloseWindow better;
[wxWidgets.git] / utils / glcanvas / samples / penguin / Makefile
CommitLineData
b1170810
RR
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#
aae24d21
RR
14
15CPP = g++
16CC = gcc
17
18Penguin: 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
23penguin.o: penguin.cpp
5aa5e35a 24 $(CPP) `wx-config --cflags` -I../../gtk -c penguin.cpp
aae24d21 25
45b5751f 26lw.o: lw.cpp
5aa5e35a 27 $(CPP) `wx-config --cflags` -I../../gtk -c lw.cpp
aae24d21
RR
28
29trackball.o: trackball.c
5aa5e35a 30 $(CC) `wx-config --cflags` -I../../gtk -c trackball.c
aae24d21 31
5aa5e35a
RR
32glcanvas.o: ../../gtk/glcanvas.cpp
33 $(CPP) `wx-config --cflags` `gtk-config --cflags` -I../../gtk -c ../../gtk/glcanvas.cpp
aae24d21
RR
34
35clean:
f6fcbb63 36 rm -f *.o Penguin