bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #19183] double-colon pattern rules


From: David Bateman
Subject: [bug #19183] double-colon pattern rules
Date: Fri, 02 Mar 2007 11:46:47 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060802 Mandriva/1.5.0.7-0.1.20060mdk (2006.0) Firefox/1.5.0.7

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]