diff options
author | Melody Horn <melody@boringcactus.com> | 2021-04-04 14:07:14 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-04-04 14:07:14 -0600 |
commit | f6117f5a1b8e5aa426b959c0fe5571de626070dc (patch) | |
tree | ad8abed39be159174988e670113162461d881f24 /src/makefile/input.rs | |
parent | cdffe0c58f939490fdfcef56843f8fab4433988b (diff) | |
download | makers-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.rs | 1 |
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); |