Follow-up Comment #1, bug #27609 (project make): This is how the default rule for building YACC files in GNU make has always been, for 20-odd years. From the GNU make manual section "Catalog of Rules":
Yacc for C programs n.c is made automatically from n.y by running Yacc with the command `$(YACC) $(YFLAGS)'. Lex for C programs n.c is made automatically from n.l by running Lex. The actual command is `$(LEX) $(LFLAGS)'. Creating a statically-named "y.tab.c" from "foo.y" was an inane idea in the first place: what happens if you have two different YACC files that generate different parsers in the same directory? Ditto, of course, for lex. I'm not sure what we can do about this. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?27609> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make