]>
Commit | Line | Data |
---|---|---|
8b089c5e JS |
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 | ||
c661ecca RR |
10 | CPP = g++ |
11 | CC = gcc | |
8b089c5e | 12 | |
c661ecca RR |
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 | |
8b089c5e | 17 | |
c661ecca RR |
18 | penguin.o: penguin.cpp |
19 | $(CPP) `wx-config --cflags` -I../../gtk -c penguin.cpp | |
8b089c5e | 20 | |
c661ecca RR |
21 | lw.o: lw.cpp |
22 | $(CPP) `wx-config --cflags` -I../../gtk -c lw.cpp | |
8b089c5e | 23 | |
c661ecca RR |
24 | trackball.o: trackball.c |
25 | $(CC) `wx-config --cflags` -I../../gtk -c trackball.c | |
26 | ||
27 | clean: | |
28 | rm -f *.o Penguin | |
8b089c5e | 29 |