summaryrefslogtreecommitdiffstats
path: root/progs/vp/SConscript
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-01-23 16:24:43 +0000
committerJosé Fonseca <[email protected]>2009-01-23 17:09:51 +0000
commit528a0a885e85907888738cd7b28fff1334697e50 (patch)
tree3c85769c616d852722da1e9b08a69975373ef3ae /progs/vp/SConscript
parentb0d0e53a54ce79f57334942bf0b3762db8a3a7b8 (diff)
progs: Port vp-tris to glew.
There was some wglGetProcAddress calls to setup extensions already, but including glext caused many compilation errors in MinGW.
Diffstat (limited to 'progs/vp/SConscript')
-rw-r--r--progs/vp/SConscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/progs/vp/SConscript b/progs/vp/SConscript
new file mode 100644
index 00000000000..640c5dd8470
--- /dev/null
+++ b/progs/vp/SConscript
@@ -0,0 +1,13 @@
+Import('env')
+
+if not env['GLUT']:
+ Return()
+
+env = env.Clone()
+
+env.Prepend(LIBS = ['$GLUT_LIB'])
+
+env.Program(
+ target = 'vp-tris',
+ source = ['vp-tris.c'],
+ )