Follow-up Comment #8, bug #29074 (project make):

one more data point, from the gcc man page:

       -MP This option instructs CPP to add a phony target for each dependency
other than the main file, causing each to
           depend on nothing.  These dummy rules work around errors make gives
if you remove header files without
           updating the Makefile to match.

           This is typical output:

                   test.o: test.c test.h

                   test.h:

gcc devs thought it was a make bug too, so they added the -MP option

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29074>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to