]>
Commit | Line | Data |
---|---|---|
aae24d21 RR |
1 | |
2 | CC = g++ | |
3 | ||
4 | cube: cube.o glcanvas.o | |
5 | $(CC) -o cube \ | |
6 | cube.o glcanvas.o \ | |
7 | `wx-config --libs` -lMesaGL -lMesaGLU | |
8 | ||
9 | cube.o: cube.cpp | |
10 | $(CC) `wx-config --cflags` -I../../src -c cube.cpp | |
11 | ||
12 | glcanvas.o: ../../src/glcanvas.cpp | |
13 | $(CC) `wx-config --cflags` `gtk-config --cflags` -I../../src -c ../../src/glcanvas.cpp | |
14 | ||
15 | clean: | |
16 | rm -f *.o cube |