aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-04-03 19:03:44 -0600
committerMelody Horn <melody@boringcactus.com>2021-04-03 19:03:44 -0600
commitb45e3186d9c10c7af3d44c55b151b4e299b7d58c (patch)
tree2540e39d09157aad977a8a7f42eff8e155d9ab85 /src
parent45254dfe9d6a2c45164050ec18e12e629c074721 (diff)
downloadmakers-b45e3186d9c10c7af3d44c55b151b4e299b7d58c.tar.gz
makers-b45e3186d9c10c7af3d44c55b151b4e299b7d58c.zip
don't fuck up suffix rules
Diffstat (limited to 'src')
-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,
}
}