[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The trap in Node: Automatic Prerequisites
From: |
Paul D. Smith |
Subject: |
Re: The trap in Node: Automatic Prerequisites |
Date: |
Wed, 14 Feb 2001 14:17:30 -0500 |
%% "Nathan H Zook" <address@hidden> writes:
nhz> The better solution is to insist that the .d files and the .o
nhz> files be generated by separate rules.
A much better solution all around is included in a doc on the site
referenced in my .sig below.
nhz> Might it also be useful to inform users that included files are
nhz> built from the bottom of the file up?
I don't want to document that, since it might change. The order in
which included files are built should be considered random, that's why
it's not specified in the manual.
nhz> 1) A special target (.NOBUILTINS ?) to duplicate the
nhz> functionality of the command line -r switch.
It would be just as simple to make adding "r" to MAKEFLAGS work
correctly.
There's a reason this hasn't been done: it's not that easy. It's not
_that_ hard, but it will require a bit of work.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> 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