Keith Whitwell | e95a3a2 | 2009-09-17 12:08:04 +0100 | [diff] [blame] | 1 | Import('env') |
2 | |||||
3 | if not env['GLUT']: | ||||
4 | Return() | ||||
5 | |||||
6 | env = env.Clone() | ||||
7 | |||||
8 | env.Prepend(LIBS = ['$GLUT_LIB']) | ||||
9 | |||||
10 | progs = [ | ||||
11 | 'drawoverhead', | ||||
12 | 'teximage', | ||||
13 | 'vbo', | ||||
14 | 'vertexrate', | ||||
15 | ] | ||||
16 | |||||
17 | for prog in progs: | ||||
18 | env.Program( | ||||
19 | target = prog, | ||||
20 | source = [ | ||||
21 | prog + '.c', | ||||
22 | 'common.c', | ||||
23 | 'glmain.c', | ||||
24 | ] | ||||
25 | ) | ||||
26 |