help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pattern rules without commands, does it make sense?


From: Paul D. Smith
Subject: Re: Pattern rules without commands, does it make sense?
Date: Wed, 3 May 2006 07:50:55 -0400

%% "Leeuwesteijn,Joost" <address@hidden> writes:

  l> Hi *,
  >> From chapter "Implicit Rule Search Algorithm":
  l> "4. Remove from the list all rules with no commands."

  l> Just to be sure: are pattern rules without commands totally useless?

They're not useless, but they don't do the same thing as explicit rules
with no commands.

A pattern rule with no commands _deletes_ that pattern rule from the
make database.  See the GNU make manual section "Canceling Implicit Rules".

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

[Prev in Thread] Current Thread [Next in Thread]