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:  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
.DEFAULT:
@echo "Using default rules for target " $@
---- end example ----

type:
gmake -r -f t.make clean
You get:
gmake: Nothing to be done for `clean'.

Remove .PHONY line:
type:
gmake -r -f t.make clean
You now get:
Using default rules for target clean

This was ok in 3.80

Anonymous

 

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)
  •  

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

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.3