progs/perf: add scons support, get working under mingw

This commit is contained in:
Keith Whitwell
2009-09-17 12:08:04 +01:00
parent 21caa29fbd
commit e95a3a23dc
9 changed files with 80 additions and 24 deletions
+26
View File
@@ -0,0 +1,26 @@
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',
]
)