tech-toolchain archive

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

Re: bsd.lib.mk question



On Mon, Jun 06, 2011 at 10:08:41PM +0100, David Laight wrote:
 > > a.c b.c:
 > >    echo 'int foo;' > a.c
 > >    echo 'int foo;' > b.c
 > > 
 > > You'll find - well, I find, at least - that it runs the command set
 > > only once.
 > 
 > Only because make does a second scan of the file timestamps just before
 > running the commands to double-check that no other rules have
 > recreated the target already.

...sometimes this doesn't work right, too; see PR 34934 for an
example.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index