change Environment#parse_makefile_deps() to a class method
This commit is contained in:
1 parent
0cd9dbd1bd
commit
1280cfb465
3 files changed
+29
-31
No files matched your search
@@ -69,7 +69,7 @@ module Rscons
|
||||
return false unless env.execute("#{com_prefix} #{target}", command)
|
||||
deps = sources
|
||||
if File.exists?(vars['_DEPFILE'])
|
||||
deps += env.parse_makefile_deps(vars['_DEPFILE'], target)
|
||||
deps += Environment.parse_makefile_deps(vars['_DEPFILE'], target)
|
||||
FileUtils.rm_f(vars['_DEPFILE'])
|
||||
end
|
||||
cache.register_build(target, command, deps.uniq)
|
||||
|
||||
Reference in new issue
Block a user