tech-toolchain archive

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

Re: bsd.lib.mk question



>On Wed, Jun 8, 2011 at 2:01 AM, David Holland 
><dholland-tech%netbsd.org@localhost> wr=
>> With at least some makes, this will (possibly depending on timestamps)
>> cause parser.o to be recompiled from parser.c every time you type
>> make, because it's been "rebuilt" by the null rule. Furthermore, it's

You could simply add a touch to parser.c so that it is always newer that
parser.h 

>> lying to make, which never works out well in the long run. The only

I've never noticed it get upset ;-)

>What's wrong with the wrapper approach which wraps those commands to
>generate single output file?  This should work as long as those
>command output is reproducible.

I'm not sure I follow that.  
There are two files to be generated.


Home | Main Index | Thread Index | Old Index