I've got a questions regarding having multiple targets in one rule.
I'm using antlr (a parser generator). In normal use, if I do:
runantlr python.g
then the files PythonLexer.java PythonParser.java
PythonParserTokenTypes.java and PythonParserTokenTypes.txt are
generated. Of course, for all of the .java files above, .class files
depend on them.
So I created a rule:
PythonLexer.java PythonParser.java PythonParserTokenTypes.java \
PythonParserTokenTypes.txt : python.g
$(ANTLR) python.g
This works, but it ends up running antlr on python.g four times which
seems bad. Is there a better way to do this? Thanks for any help
people can offer.
-- Chris
--
Christian Bird
[EMAIL PROTECTED]
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make