From b45e3186d9c10c7af3d44c55b151b4e299b7d58c Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Sat, 3 Apr 2021 19:03:44 -0600 Subject: don't fuck up suffix rules --- src/makefile/inference_rules.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/makefile') 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) -> Self { Self { - products: vec![format!("%.{}", s1)], - prerequisites: vec![format!("%.{}", s2)], + products: vec![format!("%{}", s1)], + prerequisites: vec![format!("%{}", s2)], commands, } } -- cgit v1.2.3