Follow-up Comment #2, bug #66500 (group make):
"Make has no idea that the recipe touched foo/tar."
And this is the problem. The manual says:
"The recompilation must be done if the source file, or any of the header files
named as prerequisites, is more recent than the object file, or if the objec
Follow-up Comment #1, bug #66237 (group make):
I can reproduce this with make-4.3, however, the latest make build from master
behaves correctly here.
$ make --version
GNU Make 4.4.90
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL versio
Follow-up Comment #1, bug #66500 (group make):
There is this makefile in the attachment.
baz: foo/tar
touch baz
foo/tar: foo
foo: bar
-mkdir foo
touch foo/tar
Make is correct. Make is doing what this makefile tells make to do.
The user touches bar and runs make. Make goes through