Hello Paul and GNU make developers,
The Austin Group (the people in charge of the POSIX specification)
recently discussed this bug, and desire feedback from the GNU make
community:
https://www.austingroupbugs.net/bug_view_page.php?bug_id=1890
With GNU make 4.4.1 (and no makefile):
$ touch foo.c
On Thu, 2024-12-19 at 14:08 -0500, Paul Smith wrote:
> Technically, make's built-in recipe for .c.o is:
Of course here I mean GNU Make, not POSIX make :-/.
On Thu, 2024-12-19 at 12:17 -0600, Eric Blake wrote:
> Currently GNU make does not conform to the required .c.o inference
> rule because it adds a -o option.
Technically, make's built-in recipe for .c.o is:
$(COMPILE.c) $(OUTPUT_OPTION) $<
where OUTPUT_OPTION is set to "-o $@" if GNU Make's co