Always use a build root and default it to "build"

This commit is contained in:
josh committed 2017-05-30 11:06:32 -04:00
1 parent 43df46018c
commit c7e4e1ad9b
5 files changed
+76 -85

No files matched your search

+1 -1
View File
@@ -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