In the GNU make manual 0.77 as found at
https://www.gnu.org/software/make/manual/make.html
the implicit rule for linking is, as given in Section 10.2:
n is made automatically from n.o by running the C compiler to
link the program. The precise recipe used is
‘$(CC) $(LDFLAGS) n.o $(LOADLI
On Mon, 2024-07-08 at 17:17 +0200, Vincent Lefevre wrote:
> foo : $(objects)
> cc -o foo $(CFLAGS) $(objects)
>
> This is misleading because $(CFLAGS) is not used in the implicit
> rule.
I'm not sure I see the issue here (and with the example for
.EXTRA_PREREQS): this is not an implicit r
On 2024-07-08 11:44:45 -0400, Paul Smith wrote:
> On Mon, 2024-07-08 at 17:17 +0200, Vincent Lefevre wrote:
> > foo : $(objects)
> > cc -o foo $(CFLAGS) $(objects)
> >
> > This is misleading because $(CFLAGS) is not used in the implicit
> > rule.
>
> I'm not sure I see the issue here (and