Dmitry Goncharov (10 February 2023 00:24) wrote:
> When a depfile is missing (for any reason) the current automake
> makefile creates a dummy depfile.
This seems misguided.
Better to
include $(wildcard $(DEPFILES))
instead, so there are no misleading depfiles lying around to cause make
to fail
Dmitry Goncharov wrote:
On Thursday, February 9, 2023, Tom Tromey wrote:
It's been a long time since I worked on automake, but the dependency
tracking in automake is designed not to need to rebuild or pre-build dep
files. Doing that means invoking the compiler twice, which is slow.
Instead,
I finally went back to the top of the thread.
Dmitry> Here is a rule from an automake generated makefile.
Dmitry> Below is a sample bash session with gnu make which demonstrates how a
Dmitry> dummy shuffle.Po makefile fails to have shuffle.o rebuilt when
Dmitry> shuffle.h changes.
Dmitry> $ rm s