]> git.saurik.com Git - wxWidgets.git/blob - samples/opengl/penguin/makefile.unx
This is how wxPlotWindow would look like with the
[wxWidgets.git] / samples / opengl / penguin / makefile.unx
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
10 CPP = g++
11 CC = gcc
12
13 Penguin: 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
18 penguin.o: penguin.cpp
19 $(CPP) `wx-config --cflags` -I../../gtk -c penguin.cpp
20
21 lw.o: lw.cpp
22 $(CPP) `wx-config --cflags` -I../../gtk -c lw.cpp
23
24 trackball.o: trackball.c
25 $(CC) `wx-config --cflags` -I../../gtk -c trackball.c
26
27 clean:
28 rm -f *.o Penguin
29