>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 _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
