Follow-up Comment #1, bug #16958 (project make):

Prerequisites of the .PHONY special target are marked as targets because they
are effectively targets. For example, if you have an empty Makefile and say

$ make all

you get:

make: *** No rule to make target `all'.  Stop.

If, however, you have this in your makefile

.PHONY: all

then there is no problem building all. Both 3.80 and 3.81 print

make: Nothing to be done for `all'.

I am not saying that we shouldn't fix this regression. I am saying that I
believe the code I added is correct and the problem is elsewhere (most likely
in the code that decides whether to use commands from .DEFAULT or not).


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16958>

_______________________________________________
  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

Reply via email to