help-make
[Top][All Lists]
Advanced

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

RE: auto-dep cannot possibly work?


From: Mark Galeck (CW)
Subject: RE: auto-dep cannot possibly work?
Date: Mon, 16 Nov 2009 17:15:49 -0800

>I guess here I don't see what the difference is between libraries and
headers. Surely someone could put a generic sounding "libutil.a"
earlier in the library search path. Though probably less likely, you
can rely on the user in one case but not the other?

I always rely on the user, both in case of libraries and include path search 
order.  I don't deal with these things.  

I am doing the dependency generation for include files.  That actually follows 
from, the include path search order (and other things).  

It is reasonable to assume the user will deal with placing include files 
properly and maintaining the search order - this is simply maintaining the 
makefile.  Makefile is a source code - programmers are expected to maintain 
their source code.  

It is not reasonable to assume the user will know which objects to rebuild and 
when.  Yes they could figure it out, but, the make program already does it for 
them.  While the programmers are expected to  maintain their programs, they are 
not expected to also run them in their heads.  

Mark




reply via email to

[Prev in Thread] Current Thread [Next in Thread]