33 lines
473 B
Python
33 lines
473 B
Python
Import('env')
|
|
|
|
if not env['GLUT']:
|
|
Return()
|
|
|
|
env = env.Clone()
|
|
|
|
env.Prepend(LIBS = ['$GLUT_LIB'])
|
|
|
|
progs = [
|
|
'copytex',
|
|
'drawoverhead',
|
|
'fbobind',
|
|
'fill',
|
|
'genmipmap',
|
|
'readpixels',
|
|
'swapbuffers',
|
|
'teximage',
|
|
'vbo',
|
|
'vertexrate',
|
|
]
|
|
|
|
for prog in progs:
|
|
env.Program(
|
|
target = prog,
|
|
source = [
|
|
prog + '.c',
|
|
'common.c',
|
|
'glmain.c',
|
|
]
|
|
)
|
|
|