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
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'.
https://www.gnu.org/software/make/manual/html_node/Chained-Rules.html#Chained-Rules
t
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: