summaryrefslogtreecommitdiff
path: root/progs/fp/SConscript
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2009-02-14 01:05:13 +0100
committerJakob Bornecrantz <jakob@vmware.com>2009-02-14 07:04:01 +0100
commit96c773c77bf50140e7380d1358fd4528241719e8 (patch)
tree1e449d898ec54fbd3bde63c0b056abb41e5430ec /progs/fp/SConscript
parent0a323fe09b0b12fceb9695a8b0acbf232310d38b (diff)
progs: Make fp-tri use glew and add scons target
Diffstat (limited to 'progs/fp/SConscript')
-rw-r--r--progs/fp/SConscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/progs/fp/SConscript b/progs/fp/SConscript
new file mode 100644
index 0000000000..e31fa32023
--- /dev/null
+++ b/progs/fp/SConscript
@@ -0,0 +1,13 @@
+Import('env')
+
+if not env['GLUT']:
+ Return()
+
+env = env.Clone()
+
+env.Prepend(LIBS = ['$GLUT_LIB'])
+
+env.Program(
+ target = 'fp-tri',
+ source = ['fp-tri.c'],
+ )