]> git.saurik.com Git - wxWidgets.git/blame - utils/glcanvas/samples/penguin/Makefile
Some Motif fixes; makefile fixes; added wxTransferStreamToFile/FileToStream for wxWin
[wxWidgets.git] / utils / glcanvas / samples / penguin / Makefile
CommitLineData
c8c5323c
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#
14
7941ba11 15CPP = gcc
c8c5323c 16CC = gcc
dc1efb1d
JS
17WXCONFIG=../../../../wx-config
18WXINCLUDE=-I../../../../include
19WXLIB=-L../../../../lib
c8c5323c
RR
20
21Penguin: penguin.o trackball.o lw.o glcanvas.o
dc1efb1d 22 $(CPP) -o Penguin penguin.o trackball.o lw.o glcanvas.o `$(WXCONFIG) --libs` $(WXLIB) -lMesaGL -lMesaGLU
c8c5323c
RR
23
24penguin.o: penguin.cpp
dc1efb1d 25 $(CPP) `$(WXCONFIG) --cflags` -I../../gtk $(WXINCLUDE) -c penguin.cpp
c8c5323c
RR
26
27lw.o: lw.cpp
dc1efb1d 28 $(CPP) `$(WXCONFIG) --cflags` -I../../gtk $(WXINCLUDE) -c lw.cpp
c8c5323c
RR
29
30trackball.o: trackball.c
dc1efb1d 31 $(CC) `$(WXCONFIG) --cflags` -I../../gtk $(WXINCLUDE) -c trackball.c
c8c5323c
RR
32
33glcanvas.o: ../../gtk/glcanvas.cpp
dc1efb1d 34 $(CPP) `$(WXCONFIG) --cflags` `gtk-config --cflags` -g -I../../gtk $(WXINCLUDE) -c ../../gtk/glcanvas.cpp
c8c5323c
RR
35
36clean:
37 rm -f *.o Penguin