aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/inference_rules.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefile/inference_rules.rs')
-rw-r--r--src/makefile/inference_rules.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/makefile/inference_rules.rs b/src/makefile/inference_rules.rs
index dfbb07c..ed83f03 100644
--- a/src/makefile/inference_rules.rs
+++ b/src/makefile/inference_rules.rs
@@ -17,8 +17,8 @@ impl InferenceRule {
/// s1 is the product, s2 is the prereq
pub fn new_suffix(s1: String, s2: String, commands: Vec<CommandLine>) -> Self {
Self {
- products: vec![format!("%.{}", s1)],
- prerequisites: vec![format!("%.{}", s2)],
+ products: vec![format!("%{}", s1)],
+ prerequisites: vec![format!("%{}", s2)],
commands,
}
}