def build(bld): bld.objects(source=bld.get_sub_files(max_depth=1), target="common", includes = ['.','..'], ) bld.objects(source=bld.get_sub_files(max_depth=1), target="common_sh", cxxflags=bld.env.CXXFLAGS_cxxshlib, includes = ['.','..'], )