blob: 7a8a0d62d81c1b00726d81ee730900b7c73b1bab [file] [log] [blame]
José Fonseca52233f22009-02-10 20:27:49 +00001Import('*')
2
3if not env['GLUT']:
4 Return()
5
6env = env.Clone()
7
8env.Prepend(CPPPATH = [
9 '../util',
10])
11
12env.Prepend(LIBS = [
13 util,
14 '$GLUT_LIB'
15])
16
17if env['platform'] == 'windows':
18 env.Append(CPPDEFINES = ['NOMINMAX'])
19 env.Prepend(LIBS = ['winmm'])
20
21progs = [
22 'accum',
23 'bitmap1',
24 'bitmap2',
25 'blendeq',
26 'blendxor',
27 'copy',
28 'cursor',
29 'depth',
30 'eval',
31 'fog',
32 'font',
33 'line',
34 'logo',
35 'nurb',
36 #'oglinfo',
37 'olympic',
38 'overlay',
39 'point',
40 'prim',
41 'quad',
42 'rgbtoppm',
43 'select',
44 'shape',
45 'sphere',
46 'star',
47 'stencil',
48 'stretch',
49 'texture',
50 'tri',
51 'wave',
52]
53
54for prog in progs:
55 env.Program(
56 target = prog,
57 source = prog + '.c',
58 )