help-make
[Top][All Lists]
Advanced

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

Re: Have GMAKE ignore timestamps


From: Paul D. Smith
Subject: Re: Have GMAKE ignore timestamps
Date: Sun, 26 Aug 2001 01:52:56 -0400

%% "Bhatt, Milan C" <address@hidden> writes:

  bmc> I was wondering if there was any simple way to get gmake to
  bmc> create a target without checking to see if the prerequisites are
  bmc> out of date.  So I'd like to create only the target and the
  bmc> prerequisites for that target that don't exist, but I don't want
  bmc> to create existing prerequisites even if they are out of date.

You can have your rule to create the targets test to see if it exists,
and if so not update it.

Obviously these rules will fire every time, but they won't actually
cause anything to happen.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.paulandlesley.org/gmake/
 "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]