1 # vim:set syntax=python:
4 utilsio = ctx.new_task_gen(name = 'utilsio', features = 'c',
6 source = ['utils.c', 'jackio.c'],
7 uselib = ['LASH', 'JACK'],
10 # loop over all *.c filenames in examples to build them all
11 for target_name in ctx.path.ant_glob('*.c', excl = ['utils.c', 'jackio.c']):
12 ctx.new_task_gen(features = 'c cprogram',
13 add_objects = 'utilsio',
15 uselib = ['LASH', 'JACK', 'SNDFILE'],
18 # program name is filename.c without the .c
19 target = str(target_name).split('.')[0])