27 lines · 698 B · Text
RawDownload
# vim:set syntax=python: import os.path uselib = ['aubio']uselib += ['JACK'] includes = ['../src']utils_source = ['utils.c', 'jackio.c']programs_source = ctx.path.ant_glob('*.c', excl = utils_source) # build examplesbld(features = 'c',        source = utils_source,        includes = includes,        use = uselib,        target = 'utilsio') # loop over all *.c filenames in examples to build them allfor source_file in programs_source:    target = os.path.basename(os.path.splitext(str(source_file))[0])    bld(features = 'c cprogram',            source = source_file,            target = target,            includes = includes,            use = uselib + ['utilsio'],       )

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t