merge with develop
[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         target = 'utilsio')
10
11 # loop over all *.c filenames in examples to build them all
12 for source_file in ctx.path.ant_glob('*.c', excl = ['utils.c', 'jackio.c']):
13   bld.program(features = 'c cprogram',
14       includes = '../src',
15       use = ['aubio', 'FFTW3F', 'FFTW3', 'SNDFILE', 'JACK', 'LASH', 'SAMPLERATE', 'utilsio'],
16       source = str(source_file),
17       target = str(source_file).split('.')[0]
18     )