diff options
author | Melody Horn <melody@boringcactus.com> | 2021-04-03 19:03:44 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-04-03 19:03:44 -0600 |
commit | b45e3186d9c10c7af3d44c55b151b4e299b7d58c (patch) | |
tree | 2540e39d09157aad977a8a7f42eff8e155d9ab85 /src/makefile | |
parent | 45254dfe9d6a2c45164050ec18e12e629c074721 (diff) | |
download | makers-b45e3186d9c10c7af3d44c55b151b4e299b7d58c.tar.gz makers-b45e3186d9c10c7af3d44c55b151b4e299b7d58c.zip |
don't fuck up suffix rules
Diffstat (limited to 'src/makefile')
-rw-r--r-- | src/makefile/inference_rules.rs | 4 |
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, } } |