]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/opengl/penguin/makefile.unx
Fixed CanCut
[wxWidgets.git] / samples / opengl / penguin / makefile.unx
... / ...
CommitLineData
1#
2# File: makefile.unx
3# Author: Julian Smart
4# Created: 1998
5# Updated:
6# Copyright: (c) 1998 Julian Smart
7#
8# Makefile for penguin example (UNIX).
9
10CPP = g++
11CC = gcc
12
13Penguin: penguin.o trackball.o lw.o
14 $(CPP) -o Penguin \
15 penguin.o trackball.o lw.o \
16 `wx-config --libs` -lwx_gtk_gl -lMesaGL -lMesaGLU
17
18penguin.o: penguin.cpp
19 $(CPP) `wx-config --cflags` -I../../gtk -c penguin.cpp
20
21lw.o: lw.cpp
22 $(CPP) `wx-config --cflags` -I../../gtk -c lw.cpp
23
24trackball.o: trackball.c
25 $(CC) `wx-config --cflags` -I../../gtk -c trackball.c
26
27clean:
28 rm -f *.o Penguin
29