On Wed, Jul 19, 2023 at 4:36 PM Jeffrey Walton <noloa...@gmail.com> wrote:
> SUFFIXES does not seem to work too well. 'make -d' still shows all the
> extra noise. For example, I added to the top of my GNUmakefile:
>
>    .SUFFIXES: .h .c .cpp .S .o
>
> I still see:
>
> $ make -d -f GNUmakefile
...
>   Trying implicit prerequisite 'GNUmakefile.o'.

If you want to reset the list of known suffixes
.SUFFIXES:
You can then add your own suffixes to this list
.SUFFIXES: .h .c .cpp .S .o

If you want to prevent make from remaking GNUmakefile
GNUmakefile::;

regards, Dmitry

Reply via email to