waf: update to 1.7.9
[aubio.git] / examples / wscript_build
1 # vim:set syntax=python:
2
3 # build examples
4 utilsio = bld(
5         name = 'utilsio',
6         features = 'c',
7         includes = '../src',
8         source = ['utils.c', 'jackio.c'],
9         uselib = ['LASH', 'JACK'],
10         target = 'utilsio')
11
12 # loop over all *.c filenames in examples to build them all
13 for source_file in ctx.path.ant_glob('*.c', excl = ['utils.c', 'jackio.c']):
14   bld.program(features = 'c cprogram',
15       includes = '../src',
16       use = ['aubio', 'LASH', 'JACK', 'SNDFILE', 'utilsio'],
17       source = str(source_file),
18       target = str(source_file).split('.')[0]
19     )