import os env = DefaultEnvironment().Clone() LIB_DIR = os.environ['LIB_DIR']; BIN_DIR = os.environ['BIN_DIR']; SOURCES = Glob('agge/*.cpp') env.Library(os.path.join(LIB_DIR, 'agge'), SOURCES);