aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mate/Makefile.nmake
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-08-04 22:22:53 +0000
committerGuy Harris <guy@alum.mit.edu>2005-08-04 22:22:53 +0000
commit3d1dfa4f67eabbb32c30776cfd40e66d3f8d93d9 (patch)
tree0a345f65d7d19dcfbc5a385508fcb9f3703d9880 /plugins/mate/Makefile.nmake
parentcf3b50f1ce155dd61464bdbb5caabbe4db6392af (diff)
Put in comments explaining why we're removing some generated files with
"make distclean", even though they come with the distribution, and make the one in plugins/xml/Makefile.nmake match the one in some other files. svn path=/trunk/; revision=15214
Diffstat (limited to 'plugins/mate/Makefile.nmake')
-rw-r--r--plugins/mate/Makefile.nmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/mate/Makefile.nmake b/plugins/mate/Makefile.nmake
index 63d22bc16a..318391e303 100644
--- a/plugins/mate/Makefile.nmake
+++ b/plugins/mate/Makefile.nmake
@@ -38,6 +38,15 @@ mate.dll mate.exp mate.lib : $(OBJECTS) $(LINK_PLUGIN_WITH)
clean:
rm -f $(OBJECTS) mate.dll mate.exp mate.lib *.pdb
+#
+# We remove the generated files with "distclean" because one of them,
+# "mate_parser.c", needs different #includes for UN*X and Windows
+# (UN*X versions of Flex make it include <unistd.h>, but that's a
+# UN*X-only header), so if you're going to build from source, you need
+# to build "mate_parser.c" from "mate_parser.l" with Flex.
+# This might not be necessary for "mate_grammar.{c,h}", but we handle them
+# the same for now.
+#
distclean: clean
rm -f mate_parser.c mate_grammar.c mate_grammar.h mate_grammar.out