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/