Boris Kolpackov wrote:

Noel Yap <[EMAIL PROTECTED]> writes:

The first one, definitely. You need to write the rules such that they don't care about the current directory.

I think David meant he wants to be able to build parts of the project which most likely won't work if you have one big makefile.

This is still possible. What I do is have the directory's GNUmakefile include all GNUprivate.mk's within it and its subdirectories. The GNUmakefile is just a hook (and all directory's GNUmakefile's look exactly the same). It's the GNUprivate.mk's that define all the interesting stuff.


Noel



_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to