Follow-up Comment #4, bug #18617 (project make): I was looking for the same feature, especially I'd like to trace the invokation of implicit rules, it would be really usueful to see the implicit rule invoked and the file where it is defined.
As an use case I'm currently debugging this (make -d): Trying implicit prerequisite `assert.cxx'. Found an implicit rule for `/home/stefano/src/reilabs/flash2sip/contrib/src/ptlib_2.2.1/lib/obj_linux_x86_r/assert.o'. File `/home/stefano/include/ptlib.h' does not exist. Looking for an implicit rule for `/home/stefano/include/ptlib.h'. Trying pattern rule with stem `ptlib.h'. Trying implicit prerequisite `/home/stefano/include/ptlib.h,v'. Trying pattern rule with stem `ptlib.h'. Trying implicit prerequisite `/home/stefano/include/RCS/ptlib.h,v'. Trying pattern rule with stem `ptlib.h'. Trying implicit prerequisite `/home/stefano/include/RCS/ptlib.h'. Trying pattern rule with stem `ptlib.h'. Trying implicit prerequisite `/home/stefano/include/s.ptlib.h'. Trying pattern rule with stem `ptlib.h'. Trying implicit prerequisite `/home/stefano/include/SCCS/s.ptlib.h'. No implicit rule found for `/home/stefano/include/ptlib.h'. Must remake target `/home/stefano/include/ptlib.h'. make[2]: Entering directory `/home/stefano/src/reilabs/flash2sip/contrib/src/ptlib_2.2.1/src/ptlib/unix' make[2]: *** No rule to make target `/home/stefano/include/ptlib.h', needed by `/home/stefano/src/reilabs/flash2sip/contrib/src/ptlib_2.2.1/lib/obj_linux_x86_r/assert.o'. Stop. and I don't know where to hit my head. It doesn't tell which the implicit rule is and where the rule is defined, so it isn't that useful, with that information I wouldn't have to figure out which is the rule applied of all the possible implicit rules. Regards and thanks for your attention. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?18617> _______________________________________________ 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