aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/target.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/target.rs
parentcdffe0c58f939490fdfcef56843f8fab4433988b (diff)
downloadmakers-f6117f5a1b8e5aa426b959c0fe5571de626070dc.tar.gz
makers-f6117f5a1b8e5aa426b959c0fe5571de626070dc.zip
keep track of pattern stem to correctly populate `$*`
Diffstat (limited to 'src/makefile/target.rs')
-rw-r--r--src/makefile/target.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/makefile/target.rs b/src/makefile/target.rs
index 1c382d0..506bde8 100644
--- a/src/makefile/target.rs
+++ b/src/makefile/target.rs
@@ -14,6 +14,7 @@ pub struct Target {
pub name: String,
pub prerequisites: Vec<String>,
pub commands: Vec<CommandLine>,
+ pub stem: Option<String>,
pub already_updated: Cell<bool>,
}