diff options
-rw-r--r-- | plugins/xml/Makefile.nmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/xml/Makefile.nmake b/plugins/xml/Makefile.nmake index a6cac3d87b..9d910c5909 100644 --- a/plugins/xml/Makefile.nmake +++ b/plugins/xml/Makefile.nmake @@ -27,9 +27,20 @@ xml.dll xml.exp xml.lib : $(OBJECTS) $(LINK_PLUGIN_WITH) !ENDIF +xml_lexer.c : xml_lexer.l + $(LEX) -oxml_lexer.c xml_lexer.l + clean: rm -f $(OBJECTS) xml.dll xml.exp xml.lib *.pdb +# +# We remove the generated files with "distclean" because one of them, +# "xml_lexer.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 "xml_lexer.c" from "xml_lexer.l" with Flex. +# distclean: clean + rm -f xml_lexer.c maintainer-clean: distclean |