Add env() method to create environments. Process all environments created at build script top level before executing any autoconf-enabled tasks, or if no tasks are specified by the user.
6 lines
147 B
Ruby
6 lines
147 B
Ruby
env(echo: :command) do |env|
|
|
env.Object("main.o", "main.d")
|
|
env.Object("mod.o", "mod.d")
|
|
env.Program("hello-d.exe", ["main.o", "mod.o"])
|
|
end
|