1 2 3 4 5 6 7 8 9
env = Environment({}) env.Library('mylib', 'mylib.d') prog_env = env.Clone( LIBS = ['mylib'], LIBPATH = '#' ) prog_env.Program('prog', 'prog.d')