blob: acd6564e14a1f632ef7b63792f45b762c1cddd2c [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 = [
Brian Pauld04fa732009-09-22 15:28:34 -060011 'copytex',
Keith Whitwelle95a3a22009-09-17 12:08:04 +010012 'drawoverhead',
Brian Pauled113da2009-09-22 11:03:43 -060013 'fbobind',
Brian Paul9297e692009-09-21 12:17:49 -060014 'fill',
Keith Whitwelle95a3a22009-09-17 12:08:04 +010015 'teximage',
Keith Whitwella7b26592009-09-21 16:55:12 +010016 'swapbuffers',
Keith Whitwelle95a3a22009-09-17 12:08:04 +010017 'vbo',
18 'vertexrate',
19]
20
21for prog in progs:
22 env.Program(
23 target = prog,
24 source = [
25 prog + '.c',
26 'common.c',
27 'glmain.c',
28 ]
29 )
30