ref: 376946a3600f182fff1276207ead2d512b579d6d
dir: /examples/wscript_build/
# vim:set syntax=python: # build examples utilsio = bld( name = 'utilsio', features = 'c', includes = '../src', source = ['utils.c', 'jackio.c'], uselib = ['LASH', 'JACK'], target = 'utilsio') # loop over all *.c filenames in examples to build them all for source_file in ctx.path.ant_glob('*.c', excl = ['utils.c', 'jackio.c']): bld.program(features = 'c cprogram', includes = '../src', use = ['aubio', 'LASH', 'JACK', 'SNDFILE', 'utilsio'], source = str(source_file), target = str(source_file).split('.')[0] )