Always use a build root and default it to "build"
This commit is contained in:
1 parent
43df46018c
commit
c7e4e1ad9b
5 files changed
+76
-85
No files matched your search
@@ -3,6 +3,6 @@ Rscons::Environment.new do |env|
|
||||
[],
|
||||
"CMD" => %w[ruby gen.rb ${_TARGET}],
|
||||
"CMD_DESC" => "Generating")
|
||||
env.build_after("program.o", "inc.c")
|
||||
env.build_after("#{env.build_root}/program.o", "inc.c")
|
||||
env.Program("program.exe", ["program.c", "inc.c"])
|
||||
end
|
||||
Reference in new issue
Block a user