aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/mod.rs
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-04-14 23:50:30 -0600
committerMelody Horn <melody@boringcactus.com>2021-04-14 23:50:30 -0600
commitb162ce1d581d2f3352a2d878e037bd9949e9dace (patch)
treead2ee39942f5635729ac63e0b595eca2aed9518a /src/makefile/mod.rs
parent5a72fb28fb69a476437141a4eb898d6d001dd281 (diff)
downloadmakers-b162ce1d581d2f3352a2d878e037bd9949e9dace.tar.gz
makers-b162ce1d581d2f3352a2d878e037bd9949e9dace.zip
rebuild out-of-date makefiles, kinda
Diffstat (limited to 'src/makefile/mod.rs')
-rw-r--r--src/makefile/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/makefile/mod.rs b/src/makefile/mod.rs
index 7cc16c5..981636b 100644
--- a/src/makefile/mod.rs
+++ b/src/makefile/mod.rs
@@ -148,7 +148,9 @@ impl<'a> Makefile<'a> {
format!("while building missing included file {}", &failed_include)
})?;
let macros = self.macros.with_overlay();
- let file = MakefileReader::read_file(self.args, macros, failed_include)?.finish();
+ let file =
+ MakefileReader::read_file(self.args, macros, failed_include, Default::default())?
+ .finish();
self.extend(file)?;
}
Ok(())