summaryrefslogtreecommitdiff
path: root/src/gallium/tests/graw/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/SConscript')
-rw-r--r--src/gallium/tests/graw/SConscript23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/SConscript b/src/gallium/tests/graw/SConscript
new file mode 100644
index 0000000000..8a92ac2c49
--- /dev/null
+++ b/src/gallium/tests/graw/SConscript
@@ -0,0 +1,23 @@
+Import('*')
+
+try:
+ graw
+except NameError:
+ print 'warning: graw library not avaiable: skipping build of graw test'
+ Return()
+
+env = env.Clone()
+
+env.Prepend(LIBPATH = [graw.dir])
+env.Prepend(LIBS = ['graw'])
+
+progs = [
+ 'clear'
+]
+
+for prog in progs:
+ env.Program(
+ target = prog,
+ source = prog + '.c',
+ )
+