[bug #58556] Make is confused by a target named ".o" and neither emptying .SUFFIXES nor MAKEFLAGS=r can prevent this

2023-01-08 Thread Paul D. Smith
Update of bug #58556 (project make): Component Version:None => 4.2.1 ___ Reply to this item at: ___

[bug #58556] Make is confused by a target named ".o" and neither emptying .SUFFIXES nor MAKEFLAGS=r can prevent this

2020-11-15 Thread Paul D. Smith
Follow-up Comment #7, bug #58556 (project make): Duh that should be: "If .SUFFIXES does not contain ".o", then the rule is a target rule not an inference rule." ___ Reply to this item at:

[bug #58556] Make is confused by a target named ".o" and neither emptying .SUFFIXES nor MAKEFLAGS=r can prevent this

2020-11-15 Thread Paul D. Smith
Follow-up Comment #6, bug #58556 (project make): I agree this is not right. Here is what happens: First, the command line is parsed which creates a goal target named ".o". Second, because "-r" was not given, the default rules are created. One of the default rules is the suffix rule for ".o",

[bug #58556] Make is confused by a target named ".o" and neither emptying .SUFFIXES nor MAKEFLAGS=r can prevent this

2020-11-03 Thread Rossen Mikhov
Follow-up Comment #5, bug #58556 (project make): Sorry, copied the wrong line. In my last comment, "| make - foo.o" should be "| make -f - foo.o". ___ Reply to this item at:

[bug #58556] Make is confused by a target named ".o" and neither emptying .SUFFIXES nor MAKEFLAGS=r can prevent this

2020-11-03 Thread Rossen Mikhov
Follow-up Comment #4, bug #58556 (project make): It is not ineffective! Did you try it? touch foo.c printf MAKEFLAGS=r | make - foo.o make: *** No rule to make target 'foo.o'. Stop. make foo.o cc-c -o foo.o foo.c The builtin rule is suppressed by MAKEFLAGS, as expected. This doesn't work

[bug #58556] Make is confused by a target named ".o" and neither emptying .SUFFIXES nor MAKEFLAGS=r can prevent this

2020-11-03 Thread Jörg Schilling
Follow-up Comment #3, bug #58556 (project make): printf 'MAKEFLAGS=r \n .SUFFIXES:' | make - .o is completely ineffective and printf 'MAKEFLAGS=r \n .SUFFIXES:' | make -f - .o is ineffective because MAKEFLAGS=r is read after the internal makefile was read. BTW: it s bad practice to set

[bug #58556] Make is confused by a target named ".o" and neither emptying .SUFFIXES nor MAKEFLAGS=r can prevent this

2020-11-02 Thread Rossen Mikhov
Follow-up Comment #2, bug #58556 (project make): Reading internal definitions before reading the makefile is fine, but this bug report specifically makes the following points: - There are no prerequisites in the empty directory, so an implicit rule with prerequisites should not be invoked at

[bug #58556] Make is confused by a target named ".o" and neither emptying .SUFFIXES nor MAKEFLAGS=r can prevent this

2020-11-02 Thread Jörg Schilling
Follow-up Comment #1, bug #58556 (project make): Any make implementation reads the internal make definitions before reading any normal makefile. Your observed behavior is expected behavior. ___ Reply to this item at:

[bug #58556] Make is confused by a target named ".o" and neither emptying .SUFFIXES nor MAKEFLAGS=r can prevent this

2020-06-13 Thread Rossen Mikhov
URL: Summary: Make is confused by a target named ".o" and neither emptying .SUFFIXES nor MAKEFLAGS=r can prevent this Project: make Submitted by: log65536 Submitted on: Sun 14 Jun 2020 01:39:34 AM