aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mate/Makefile.nmake7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/mate/Makefile.nmake b/plugins/mate/Makefile.nmake
index 3c20c8757e..2a3c958dad 100644
--- a/plugins/mate/Makefile.nmake
+++ b/plugins/mate/Makefile.nmake
@@ -142,10 +142,15 @@ maintainer-clean: distclean
RUNLEX = ..\..\tools\runlex.sh
+#
+# In order to generate mate_parser_lex.h, we need to run Flex on
+# mate_parser.l; that's done by generating mate_parser.c.
+#
mate_parser_lex.h : mate_parser.c
+
mate_parser.obj : mate_grammar.h
mate_parser.obj : mate_parser.c
- $(CC) $(GENERATED_CFLAGS) -Fd.\ -c $?
+ $(CC) $(GENERATED_CFLAGS) -Fd.\ -c mate_parser.c
mate_grammar.h : mate_grammar.c
mate_grammar.c : mate_grammar.lemon $(LEMON)\lemon.exe