bug-make
[Top][All Lists]
Advanced

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

[bug #44783] Pattern rule redefinition are silently ignored


From: Andrey Petrov
Subject: [bug #44783] Pattern rule redefinition are silently ignored
Date: Thu, 09 Apr 2015 01:45:08 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.91 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?44783>

                 Summary: Pattern rule redefinition are silently ignored
                 Project: make
            Submitted by: andruxa
            Submitted on: Thu 09 Apr 2015 01:45:06 AM GMT
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.0
        Operating System: POSIX-Based
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

Suppose there is a Makefile:

%.o: %.c
        echo building $@ from $^

%.o: %.c dummy
        echo building $@ from $^

On make invocation the second rule is ignored. No warning is shown (as opposed
to non-pattern rules). The latter rule has no effect




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44783>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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