summaryrefslogtreecommitdiff
path: root/progs/fp/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'progs/fp/SConscript')
-rw-r--r--progs/fp/SConscript30
1 files changed, 30 insertions, 0 deletions
diff --git a/progs/fp/SConscript b/progs/fp/SConscript
new file mode 100644
index 0000000000..a78318542c
--- /dev/null
+++ b/progs/fp/SConscript
@@ -0,0 +1,30 @@
+Import('env')
+
+if not env['GLUT']:
+ Return()
+
+env = env.Clone()
+
+env.Prepend(CPPPATH = [
+ '../util',
+])
+
+env.Prepend(LIBS = ['$GLUT_LIB'])
+
+progs = [
+ 'fp-tri',
+ 'tri-depth',
+ 'tri-depth2',
+ 'tri-depthwrite',
+ 'tri-depthwrite2',
+ 'tri-inv',
+ 'tri-param',
+ 'tri-tex',
+ 'point-position',
+]
+
+for prog in progs:
+ env.Program(
+ target = prog,
+ source = [prog + '.c'],
+ )