summaryrefslogtreecommitdiffstats
path: root/progs/perf/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'progs/perf/SConscript')
-rw-r--r--progs/perf/SConscript30
1 files changed, 30 insertions, 0 deletions
diff --git a/progs/perf/SConscript b/progs/perf/SConscript
new file mode 100644
index 00000000000..acd6564e14a
--- /dev/null
+++ b/progs/perf/SConscript
@@ -0,0 +1,30 @@
+Import('env')
+
+if not env['GLUT']:
+ Return()
+
+env = env.Clone()
+
+env.Prepend(LIBS = ['$GLUT_LIB'])
+
+progs = [
+ 'copytex',
+ 'drawoverhead',
+ 'fbobind',
+ 'fill',
+ 'teximage',
+ 'swapbuffers',
+ 'vbo',
+ 'vertexrate',
+]
+
+for prog in progs:
+ env.Program(
+ target = prog,
+ source = [
+ prog + '.c',
+ 'common.c',
+ 'glmain.c',
+ ]
+ )
+