mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 22:30:12 +01:00
27 lines
365 B
Text
27 lines
365 B
Text
|
|
Import('env')
|
||
|
|
|
||
|
|
if not env['GLUT']:
|
||
|
|
Return()
|
||
|
|
|
||
|
|
env = env.Clone()
|
||
|
|
|
||
|
|
env.Prepend(LIBS = ['$GLUT_LIB'])
|
||
|
|
|
||
|
|
progs = [
|
||
|
|
'drawoverhead',
|
||
|
|
'teximage',
|
||
|
|
'vbo',
|
||
|
|
'vertexrate',
|
||
|
|
]
|
||
|
|
|
||
|
|
for prog in progs:
|
||
|
|
env.Program(
|
||
|
|
target = prog,
|
||
|
|
source = [
|
||
|
|
prog + '.c',
|
||
|
|
'common.c',
|
||
|
|
'glmain.c',
|
||
|
|
]
|
||
|
|
)
|
||
|
|
|