URL:
<http://savannah.gnu.org/bugs/?22442>
Summary: Old-style cancelation of implicit rules
Project: make
Submitted by: None
Submitted on: Friday 02/29/2008 at 01:09 UTC
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 3.81
Operating System: POSIX-Based
Fixed Release: None
_______________________________________________________
Details:
I'd like to write portable makefiles that avoid the "%"
mechanism, but this leaves me no way of cancelling implicit
rules. According to POSIX, it should be possible to cancel
a rule be writing something like
rule: ;
But in gnu make version 3.81, this only results in changing
rule so that it does nothing. For example if I want to
control how C++ gets compiled and linked I define
.cc.o:
My compile command
.o :
My link command
But in the special case where there is only one .cc file
needed to make an executable the default ".cc" rule kicks
in and bypasses my commands.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?22442>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make