2 sndfileio = bld.new_task_gen(features = 'c',
4 source = ['sndfileio.c'],
7 utilsio = bld.new_task_gen(features = 'c',
9 add_objects = 'sndfileio',
10 source = ['utils.c', 'jackio.c'],
11 uselib = ['LASH', 'JACK', 'SNDFILE'],
14 # loop over all *.c filenames in examples to build them all
15 for target_name in bld.path.ant_glob('*.c', excl = ['utils.c', 'jackio.c', 'sndfileio.c']):
16 bld.new_task_gen(features = 'c cprogram',
17 add_objects = 'utilsio',
19 uselib = ['LASH', 'JACK', 'SNDFILE'],
22 # program name is filename.c without the .c
23 target = str(target_name).split('.')[0])