shithub: aubio

ref: 3f9e8e50f8c3d39d66461a0e53a739f78ebbddf8
dir: /tests/wscript_build/

View raw version
# vim:set syntax=python:

for target_name in ctx.path.ant_glob('src/**/*.c'):
  uselib = []
  includes = ['../src', '.']
  extra_source = []

  bld(features = 'c cprogram test',
      lib = 'm',
      uselib = uselib,
      source = [target_name] + extra_source,
      target = str(target_name).split('.')[0],
      includes = includes,
      install_path = None,
      defines = 'AUBIO_UNSTABLE_API=1',
      cflags = ['-g'],
      use = 'aubio')