env(echo: :command) do |env|
  env["LIBS"] << "mylib"
  env["LIBPATH"] << "."
  env.Program("library.exe", "one.c")
  env.depends("library.exe", "libmylib.a")
  env.Library("libmylib.a", ["two.c", "three.c"], "CPPFLAGS" => ["-Dmake_lib"])
end
