summaryrefslogtreecommitdiff
path: root/progs/perf/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'progs/perf/SConscript')
-rw-r--r--progs/perf/SConscript26
1 files changed, 26 insertions, 0 deletions
diff --git a/progs/perf/SConscript b/progs/perf/SConscript
new file mode 100644
index 0000000000..c019dc95b0
--- /dev/null
+++ b/progs/perf/SConscript
@@ -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',
+ ]
+ )
+