------- Comment #1 from tromey at gcc dot gnu dot org  2006-12-26 00:24 -------
I think the rationale here is just that, if -MP added the main source
file as a phony target, then 'make' would not do anything at all if the
main file was missing.  But, that result seems wrong -- for this to trigger
your Makefile must still have some dependency on the old .o file.  So,
presumably the dependency ought to mean something, and not just be
silently ignored.

How is it that your Makefile has a dependency on the old .o even
when the main file name has changed?  Isn't that a Makefile bug?


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-12-26 00:24:20
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28810

Reply via email to