diff options
Diffstat (limited to 'src/makefile/mod.rs')
-rw-r--r-- | src/makefile/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/makefile/mod.rs b/src/makefile/mod.rs index ac6090e..eb06939 100644 --- a/src/makefile/mod.rs +++ b/src/makefile/mod.rs @@ -348,6 +348,8 @@ impl<'a> Makefile<'a> { // The $* macro shall evaluate to the current target name with // its suffix deleted. (GNUism: the match stem) vec![target.stem.as_ref().unwrap_or(&target.name).to_owned()] + } else if macro_name.starts_with('^') { + target.prerequisites.clone() } else { unreachable!() }; |