progs/tests: Silence compiler warnings.
[mesa.git] / progs / redbook / SConscript
1 Import('*')
2
3 if not env['GLUT']:
4 Return()
5
6 env = env.Clone()
7
8 env.Prepend(CPPPATH = [
9 '../util',
10 ])
11
12 env.Prepend(LIBS = [
13 util,
14 '$GLUT_LIB'
15 ])
16
17 if env['platform'] == 'windows':
18 env.Append(CPPDEFINES = ['NOMINMAX'])
19 env.Prepend(LIBS = ['winmm'])
20
21 progs = [
22 'aaindex',
23 'aapoly',
24 'aargb',
25 'accanti',
26 'accpersp',
27 'alpha3D',
28 'alpha',
29 'anti',
30 'bezcurve',
31 'bezmesh',
32 'checker',
33 'clip',
34 'colormat',
35 'cube',
36 'depthcue',
37 'dof',
38 'double',
39 'drawf',
40 'feedback',
41 'fog',
42 'fogindex',
43 'font',
44 'hello',
45 'image',
46 'light',
47 'lines',
48 'list',
49 'material',
50 'mipmap',
51 'model',
52 'movelight',
53 'nurbs',
54 'pickdepth',
55 'picksquare',
56 'plane',
57 'planet',
58 'polyoff',
59 'polys',
60 'quadric',
61 'robot',
62 'sccolorlight',
63 'scenebamb',
64 'scene',
65 'sceneflat',
66 'select',
67 'smooth',
68 'stencil',
69 'stroke',
70 'surface',
71 'teaambient',
72 'teapots',
73 'tess',
74 'tesswind',
75 'texbind',
76 'texgen',
77 'texprox',
78 'texsub',
79 'texturesurf',
80 'torus',
81 'trim',
82 'unproject',
83 'varray',
84 'wrap',
85 ]
86
87 for prog in progs:
88 env.Program(
89 target = prog,
90 source = prog + '.c',
91 )