2009-09-17 12:08:04 +01:00
|
|
|
Import('env')
|
|
|
|
|
|
|
|
if not env['GLUT']:
|
|
|
|
Return()
|
|
|
|
|
|
|
|
env = env.Clone()
|
|
|
|
|
|
|
|
env.Prepend(LIBS = ['$GLUT_LIB'])
|
|
|
|
|
|
|
|
progs = [
|
|
|
|
'drawoverhead',
|
2009-09-21 12:17:49 -06:00
|
|
|
'fill',
|
2009-09-17 12:08:04 +01:00
|
|
|
'teximage',
|
2009-09-21 16:55:12 +01:00
|
|
|
'swapbuffers',
|
2009-09-17 12:08:04 +01:00
|
|
|
'vbo',
|
|
|
|
'vertexrate',
|
|
|
|
]
|
|
|
|
|
|
|
|
for prog in progs:
|
|
|
|
env.Program(
|
|
|
|
target = prog,
|
|
|
|
source = [
|
|
|
|
prog + '.c',
|
|
|
|
'common.c',
|
|
|
|
'glmain.c',
|
|
|
|
]
|
|
|
|
)
|
|
|
|
|