aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/input.rs
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-04-04 14:07:14 -0600
committerMelody Horn <melody@boringcactus.com>2021-04-04 14:07:14 -0600
commitf6117f5a1b8e5aa426b959c0fe5571de626070dc (patch)
treead8abed39be159174988e670113162461d881f24 /src/makefile/input.rs
parentcdffe0c58f939490fdfcef56843f8fab4433988b (diff)
downloadmakers-f6117f5a1b8e5aa426b959c0fe5571de626070dc.tar.gz
makers-f6117f5a1b8e5aa426b959c0fe5571de626070dc.zip
keep track of pattern stem to correctly populate `$*`
Diffstat (limited to 'src/makefile/input.rs')
-rw-r--r--src/makefile/input.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/makefile/input.rs b/src/makefile/input.rs
index 6ee5392..b02cdb6 100644
--- a/src/makefile/input.rs
+++ b/src/makefile/input.rs
@@ -446,6 +446,7 @@ impl<'a, 'parent, R: BufRead> MakefileReader<'a, 'parent, R> {
name: target.into(),
prerequisites: prerequisites.clone(),
commands: commands.clone(),
+ stem: None,
already_updated: Cell::new(false),
};
self.targets.insert(target.into(), new_target);