bug-make
[Top][All Lists]
Advanced

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

[bug #58056] Forced prerequisite order is not honored with pattern rules


From: anonymous
Subject: [bug #58056] Forced prerequisite order is not honored with pattern rules
Date: Fri, 27 Mar 2020 07:14:44 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0

URL:
  <https://savannah.gnu.org/bugs/?58056>

                 Summary: Forced prerequisite order is not honored with
pattern rules
                 Project: make
            Submitted by: None
            Submitted on: Fri 27 Mar 2020 11:14:42 AM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.3
        Operating System: None
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

Given the following Makefile:


all: foo.bar

%.bar: | %_A %_B
        @

%_A:
        @echo $@
foo_B:
        @echo $@


We get:


% make
foo_B
foo_A


Instead of:


% make
foo_A
foo_B


The forced order "%_A %_B" in the prerequisites of "%.bar" is not respected.

Note that replacing "foo_B:" with "%_B" does not trigger the bug.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58056>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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