%% Paul Lew <[EMAIL PROTECTED]> writes:

  pl> Should make consider the prerequisite newer than target in case when
  pl> the file mod time for the prerequisite and the target are identical?

  pl> We have make file that uses 'cp -p' command to preserve file mod time.
  pl> The following is a simplified version of the makefile that illustrates
  pl> the problem:

  >> uname -a
  >> SunOS cns-build2 5.6 Generic_105181-16 sun4u sparc

I suspect you're running into issues with GNU make's sub-second
timestamp support.

See the last paragraph in GNU make's README file and see if that helps.

The next version of GNU make will remove the configure flag in
preference to a special psuedo-target that allows configuration of the
timestamp granularity on a per-target basis, which is a very nice
enhancement (contributed by Paul Eggert... thanks!)

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          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

_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to