import os env=DefaultEnvironment().Clone() LIB_DIR=os.environ['LIB_DIR']; env.Library(os.path.join(LIB_DIR, 'glad'), Glob('*.c'))