José Fonseca | 72ebf4f | 2008-11-21 03:40:48 +0900 | [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 | 'arbfplight', | ||||
12 | 'arbfslight', | ||||
13 | 'arbocclude', | ||||
14 | 'bounce', | ||||
15 | 'clearspd', | ||||
16 | 'copypix', | ||||
17 | 'cubemap', | ||||
18 | 'drawpix', | ||||
19 | 'engine', | ||||
20 | 'fbo_firecube', | ||||
21 | 'fire', | ||||
22 | 'fogcoord', | ||||
23 | 'fplight', | ||||
24 | 'fslight', | ||||
25 | 'gamma', | ||||
26 | 'gearbox', | ||||
27 | 'gears', | ||||
28 | 'geartrain', | ||||
29 | 'glinfo', | ||||
30 | 'gloss', | ||||
31 | 'glslnoise', | ||||
32 | 'gltestperf', | ||||
33 | 'glutfx', | ||||
34 | 'isosurf', | ||||
35 | 'ipers', | ||||
36 | 'lodbias', | ||||
37 | 'morph3d', | ||||
38 | 'multiarb', | ||||
39 | 'paltex', | ||||
40 | 'pointblast', | ||||
41 | 'rain', | ||||
42 | 'ray', | ||||
43 | 'readpix', | ||||
44 | 'reflect', | ||||
45 | 'renormal', | ||||
46 | 'shadowtex', | ||||
47 | 'singlebuffer', | ||||
48 | 'streaming_rect', | ||||
49 | 'spectex', | ||||
50 | 'spriteblast', | ||||
51 | 'stex3d', | ||||
52 | 'teapot', | ||||
53 | 'terrain', | ||||
54 | 'tessdemo', | ||||
55 | 'texcyl', | ||||
56 | 'texdown', | ||||
57 | 'texenv', | ||||
58 | 'texobj', | ||||
59 | 'textures', | ||||
60 | 'trispd', | ||||
61 | 'tunnel', | ||||
62 | 'tunnel2', | ||||
63 | 'vao_demo', | ||||
64 | 'winpos', | ||||
65 | ] | ||||
66 | |||||
67 | for prog in progs: | ||||
68 | prog = env.Program( | ||||
69 | target = prog, | ||||
70 | source = prog + '.c', | ||||
71 | ) |