import sbms Import('*') subdirs = ['genr8', 'genr8_2_hddm', 'HDGeant', 'mcsmear', 'genpi', 'gamp2hddm', 'bggen'] SConscript(dirs=subdirs, exports='env osname', duplicate=0) sbms.OptionallyBuild(env, ['genphoton', 'genEtaRegge'])