On Wed, May 31, 2023 at 12:40 PM <radisso...@web.de> wrote:
> today i had a strange problem with a long used makefile (GNU Make 4.3).
> It found a file called "all.sh" and did a "cat <all.sh >all".

That's not a strange problem. That's the default make behavior.


> I use makefile for a long time but that effect happend the first time to me.
> It would be helpful to improve the documentation that people will be aware
> that this can happen. The phony section has some hints this way, maybe this
> is a good example to show what happens if you do not use phony.

What piece of documentation do you think is missing?
Did you see documentation on default suffix rules?

regards, Dmitry

Reply via email to