make-w32
[Top][All Lists]
Advanced

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

Re: When are make targets checked for up-to-date-ness?


From: Paul D. Smith
Subject: Re: When are make targets checked for up-to-date-ness?
Date: Thu, 8 Aug 2002 09:04:58 -0400

%% "Misha Dorman" <address@hidden> writes:

  md> Am I correct in assuming that make will stat() $@ after executing a
  md> rule, rather than just assuming that $@ is now timestamped "now"?

Yes.

It's quite legitimate (and not uncommon) for a command script to build
an expensive-to-change file into a temporary place, compare them, and
only overwrite the target if they're actually different.

-- 
-------------------------------------------------------------------------------
 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]