summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/indices/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/indices/SConscript')
-rw-r--r--src/gallium/auxiliary/indices/SConscript17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/indices/SConscript b/src/gallium/auxiliary/indices/SConscript
new file mode 100644
index 0000000000..65a43a9f64
--- /dev/null
+++ b/src/gallium/auxiliary/indices/SConscript
@@ -0,0 +1,17 @@
+Import('*')
+
+env.CodeGenerate(
+ target = 'u_indices_gen.c',
+ script = 'u_indices_gen.py',
+ source = [],
+ command = 'python $SCRIPT > $TARGET'
+)
+
+indices = env.ConvenienceLibrary(
+ target = 'indices',
+ source = [
+# 'u_indices.c',
+ 'u_indices_gen.c',
+ ])
+
+auxiliaries.insert(0, indices)