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