blob: 712e215534fa92b118b16f5aee14e988d30a48d4 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 | Import('*')
from sys import executable as python_cmd
env.CodeGenerate(
	target = 'u_indices_gen.c', 
	script = 'u_indices_gen.py', 
	source = [],
	command = python_cmd + ' $SCRIPT > $TARGET'
)
env.CodeGenerate(
	target = 'u_unfilled_gen.c', 
	script = 'u_unfilled_gen.py', 
	source = [],
	command = python_cmd + ' $SCRIPT > $TARGET'
)
indices = env.ConvenienceLibrary(
	target = 'indices',
	source = [
#               'u_indices.c',
#               'u_unfilled_indices.c',
               'u_indices_gen.c',
               'u_unfilled_gen.c',
	])
auxiliaries.insert(0, indices)
 |