Update of bug #30381 (project make): Item Group: None => Enhancement Component Version: None => 3.81
_______________________________________________________ Follow-up Comment #1: This is the documented behavior, however: No single implicit rule can appear more than once in a chain. This means that `make' will not even consider such a ridiculous thing as making `foo' from `foo.o.o' by running the linker twice. This constraint has the added benefit of preventing any infinite loop in the search for an implicit rule chain. Also, your example is too simple. How does make know that if it just went "one step further" it would find a way to build that target? Suppose you had a chain that worked like this: %.x : %.y ; cat > $@ %.y : %.x ; cat > $@ Now, without the above rule, this would be an infinite loop. If you really want a feature like this then you'll need to come up with a much more precise definition of exactly how the system should behave. I'll leave this open as an enhancement. Until then you'll have to define a target for the intermediate files (e.g., foo.rev: here) in order to get the behavior you want. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?30381> _______________________________________________ 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