import os import sbms # get env object and clone it Import('*') env = env.Clone() # Handle subdirectories first subdirs = ['epics2et', 'epics2cdaq', 'file2et', 'hdBOR'] SConscript(dirs=subdirs, exports='env osname', duplicate=0) # Compile source in this directory sbms.AddCMSG(env) sbms.AddET(env) sbms.AddEVIO(env) sbms.AddCODAChannels(env) sbms.AddCODAObjects(env) sbms.executables(env)