mainmake - Support: sr #106003, .DEFAULT: not taken for PHONY...


You are not allowed to post comments on this tracker with your current authentication level.

sr #106003: .DEFAULT: not taken for PHONY target

Submitter:  None
Submitted:  Tue 04 Sep 2007 09:35:00 PM UTC
Category:  None Priority:  5 - Normal
Severity:  4 - Important Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  POSIX-Based

Tue 04 Sep 2007 09:35:00 PM UTC, original submission:  

New in GNU Make 3.81:

When a target is listed in .PHONY the .DEFAULT rule is not used when making this target.

---- example t.make ----
.PHONY:       clean
        @echo "Using default rules for target " $@
---- end example ----

gmake -r -f t.make clean
You get:
gmake: Nothing to be done for `clean'.
Remove .PHONY line:
gmake -r -f t.make clean
You now get:
Using default rules for target  clean

This was ok in 3.80



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by None (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code