blob: a5ec9a7c2a064446c987490f937d521a1296cac0 [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',
Brian Paulc9ddd6f2009-09-24 19:36:37 -060015 'genmipmap',
Keith Whitwelld93f0222009-09-24 16:50:27 +010016 'readpixels',
Keith Whitwella7b26592009-09-21 16:55:12 +010017 'swapbuffers',
Brian Paulfa0816b2009-09-23 14:04:38 -060018 'teximage',
Keith Whitwelle95a3a22009-09-17 12:08:04 +010019 'vbo',
20 'vertexrate',
21]
22
23for prog in progs:
24 env.Program(
25 target = prog,
26 source = [
27 prog + '.c',
28 'common.c',
29 'glmain.c',
30 ]
31 )
32