aboutsummaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/makefile/mod.rs b/src/makefile/mod.rs
index 23243e4..0304bb7 100644
--- a/src/makefile/mod.rs
+++ b/src/makefile/mod.rs
@@ -24,7 +24,7 @@ use token::{tokenize, Token, TokenString};
enum MacroSource {
File,
- CommandLineOrMAKEFLAGS,
+ CommandLineOrMakeflags,
Environment,
Builtin,
}
@@ -68,7 +68,7 @@ impl<'a> Makefile<'a> {
macros.insert(
name.into(),
(
- MacroSource::CommandLineOrMAKEFLAGS,
+ MacroSource::CommandLineOrMakeflags,
TokenString::text(value),
),
);
@@ -325,7 +325,7 @@ impl<'a> Makefile<'a> {
match self.macros.get(name) {
// We always let command line or MAKEFLAGS macros override macros from the file.
- Some((MacroSource::CommandLineOrMAKEFLAGS, _)) => continue,
+ Some((MacroSource::CommandLineOrMakeflags, _)) => continue,
// We let environment variables override macros from the file only if the command-line argument to do that was given
Some((MacroSource::Environment, _))
if self.args.environment_overrides =>