URL:
<http://savannah.gnu.org/bugs/?19183>
Summary: double-colon pattern rules
Project: make
Submitted by: dbateman
Submitted on: Friday 03/02/2007 at 11:46
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 3.80
Operating System: Any
Fixed Release: None
_______________________________________________________
Details:
Consider the makefile
pat=$(filter-out %/,$(subst /,/ ,$@))
target/%::
@echo "$(pat) 1"
target/%::
@echo "$(pat) 2"
target::
@echo "test 1"
target::
@echo "test 2"
I'd hoped that "make target/test" would run the two double-colon pattern
rules, like "make target" does. However, this appears not to be the case. If
this is a bug or not is definitely a matter of opinion, but having this
feature would certainly be useful to me..
Regards
D.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?19183>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make