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