...
Making all in libexec
make[2]: Entering directory '/.../.../src/libexec'
Makefile:961: warning: ignoring prerequisites on suffix rule definition
...
Making all in service
make[1]: Entering directory '/.../.../service'
Makefile:613: warning: ignoring prerequisites on suffix rule definition
Makefile:597: warning: ignoring prerequisites on suffix rule definition
Makefile:607: warning: ignoring prerequisites on suffix rule definition
...
‘warning: ignoring prerequisites on suffix rule definition’
According to POSIX, a suffix rule cannot contain prerequisites. If a rule that could be a suffix rule has prerequisites it is interpreted as a simple explicit rule, with an odd target name. (...) In versions of GNU make prior to 4.3, no warning was emitted and a suffix rule was created, however all prerequisites were ignored and were not part of the suffix rule. Starting with GNU make 4.3 the behavior is the same, and in addition this warning is generated. In a future version the POSIX-conforming behavior will be the only behavior: no rule with a prerequisite can be suffix rule and this warning will be removed.
Version
Maybe any, with GNU make 4.3
Installation method
Source.
Expected behavior
No warnings during
make
is running.Actual behavior
Warnings are shown:
Steps to reproduce
Extract the source, and then run:
Additional information
The documentation of GNU make says: