]>
Commit | Line | Data |
---|---|---|
aae24d21 RR |
1 | |
2 | CPP = g++ | |
3 | CC = gcc | |
4 | ||
5 | Penguin: penguin.o trackball.o lw.o glcanvas.o | |
6 | $(CPP) -o Penguin \ | |
7 | penguin.o trackball.o lw.o glcanvas.o \ | |
8 | `wx-config --libs` -lMesaGL -lMesaGLU | |
9 | ||
10 | penguin.o: penguin.cpp | |
11 | $(CPP) `wx-config --cflags` -I../../src -c penguin.cpp | |
12 | ||
45b5751f JS |
13 | lw.o: lw.cpp |
14 | $(CPP) `wx-config --cflags` -I../../src -c lw.cpp | |
aae24d21 RR |
15 | |
16 | trackball.o: trackball.c | |
17 | $(CC) `wx-config --cflags` -I../../src -c trackball.c | |
18 | ||
19 | glcanvas.o: ../../src/glcanvas.cpp | |
20 | $(CPP) `wx-config --cflags` `gtk-config --cflags` -I../../src -c ../../src/glcanvas.cpp | |
21 | ||
22 | clean: | |
f6fcbb63 | 23 | rm -f *.o Penguin |