On Fri, 22 Feb 2019 15:39:25 -0500,
Martin Dorey wrote:
>
> make kindaclean; make --debug=all says:
>
> Finished prerequisites of target file 'a-derived.src'.
> Prerequisite 'a.out' of target 'a-derived.src' does not exist.
>No need to remake target 'a-derived.src'.
Let's look at the
iate. Marking just a.out as .SECONDARY seems enough to cause the
problem.
From: Bug-make on behalf of
Luke Shumaker
Sent: Friday, February 22, 2019 11:45
To: bug-make@gnu.org
Subject: Erroneously not updating intermediate/secondary dependency
* EXTERNAL E
I believe that I have found a bug present in both Make 4.2.1 (as shipped by Arch
Linux) and in the latest git commit (214865ed5c66d8e363b16ea74509f23d93456707).
Here is a simple Makefile demonstrating the bug:
all: a-derived.out
.PHONY: all
kindaclean: