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