3 defines = ['AUBIO_PREFIX="' + bld.env['AUBIO_PREFIX'] + '"']
4 defines += ['PACKAGE="' + bld.env['PACKAGE'] + '"']
6 bld.new_task_gen(features = 'cc',
7 includes = '../src ../ext',
13 # loop over all *.c filenames in examples to build them all
14 for target_name in bld.path.ant_glob('*.c').split():
16 if target_name in ['utils.c']: continue
17 bld.new_task_gen(features = 'cc cprogram',
18 add_objects = 'utils',
19 includes = '../src ../ext',
22 uselib_local = ['aubio', 'aubioext'],
24 # program name is filename.c without the .c
25 target = target_name.split('.')[0])