1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 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)