aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefile/mod.rs')
-rw-r--r--src/makefile/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/makefile/mod.rs b/src/makefile/mod.rs
index 0d4cded..1fc8303 100644
--- a/src/makefile/mod.rs
+++ b/src/makefile/mod.rs
@@ -14,6 +14,7 @@ use crate::args::Args;
mod command_line;
mod conditional;
+mod functions;
mod inference_rules;
mod target;
mod token;
@@ -592,6 +593,9 @@ impl<'a> Makefile<'a> {
};
result.push_str(&macro_value);
}
+ Token::FunctionCall { name, args } => {
+ result.push_str(&self.expand_macros(&functions::call(name, args), None));
+ }
}
}
result