make - 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 |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
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
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