blob: b87b874663074d6820f7fd085b9c3404e47a141e [file] [log] [blame]
Keith Whitwelle95a3a22009-09-17 12:08:04 +01001Import('env')
2
3if not env['GLUT']:
4 Return()
5
6env = env.Clone()
7
8env.Prepend(LIBS = ['$GLUT_LIB'])
9
10progs = [
11 'drawoverhead',
Brian Pauled113da2009-09-22 11:03:43 -060012 'fbobind',
Brian Paul9297e692009-09-21 12:17:49 -060013 'fill',
Keith Whitwelle95a3a22009-09-17 12:08:04 +010014 'teximage',
Keith Whitwella7b26592009-09-21 16:55:12 +010015 'swapbuffers',
Keith Whitwelle95a3a22009-09-17 12:08:04 +010016 'vbo',
17 'vertexrate',
18]
19
20for prog in progs:
21 env.Program(
22 target = prog,
23 source = [
24 prog + '.c',
25 'common.c',
26 'glmain.c',
27 ]
28 )
29