helpmake - 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

Submitted by:  None
Submitted on:  Tue 04 Sep 2007 09:35:00 PM UTC  
Category: NonePriority: 5 - Normal
Severity: 4 - ImportantStatus: None
Privacy: PublicAssigned to: None
Originator Email: -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



No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1