I encountered a strange bug when make-3.79 is used on IRIX 6.5,
demonstrated by the following makefile:
# Begin Makefile
#DATE=-d "19 Dec 1994"
b: a
cp -p $< $@
a:
touch $(DATE) a
# End Makefile
Note that every time you run make after the first time, it tries to
rebuild file b, even though the file is up to date. It seems to be a
problem of when the dates are exactly the same, it is considered to
be out of date.
What makes the problem strange is that if the original file "a"
has a timestamp earlier than 1/1/2000, the bug is not exhibited.
This may be demonstrated by uncommenting the DATE macro in the
above makefile.
Note that this bug does not appear with make-3.77 or make-3.78.1 on
IRIX 6.5. Nor does it appear on Linux with any version of make.
--
Darren Hiebert <[EMAIL PROTECTED]>
XonTech, Inc. (256) 971-2977