David Boyce <[EMAIL PROTECTED]> writes:
 
> I've often wished for the equivalent of the Ant "-find" feature to be 
> implemented in make. This would simply ask make to work its way up toward 
> the root looking for a makefile in each intervening directory and stopping 
> when one is found. Basically a recursive version of the current 
> makefile-finding algorithm. It would allow you to run make in any subdir of 
> a large project tree with only a single Makefile at its base (or e.g. a 
> Makefile for each of the 'cmd', 'lib', and 'doc' subtrees), thus removing 
> one of the ergonomic problems with single-makefile (non-recursive) build 
> models.

This won't scale for builds in split directories (i.e. sources in one
tree, generated code in the other). -C and -f work quite well for me, 
e.g.

make -C /tmp/hello-i686-pc-linux-gnu -f ~/hello/makefile

-boris

  

Attachment: signature.asc
Description: Digital signature

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

Reply via email to