Hi,

maybe you'd want to have a look at http://lists.gnu.org/archive/html/help-make/2002-10/msg00101.html, 
where I've detailed my personal solution to a problem similar to the one you describe. [the "[EMAIL 
PROTECTED]" is an erroneously replaced '@$' combination, not an email-address.] Using the 
make-variable $(MAKECMDGOALS) you avoid repeating your shell-loop for all available make-targets, and 
using the 'RECURSE'-target (or any name you choose) you only have to specify it once, unless you cannot 
live with a "depth-first-make".

HTH,

Johan Bezem

Rajarshi Guha wrote:
Hi,
  I've recently been delving into make and I'm facing a simple problem
that I can't seem to get around.

I have a src directory that has a few subdirectories, each one having
its own makefile.
...

-- JB Enterprises - Johan Bezem Tel: +49 172 5463210 Software Architect - Project Manager Fax: +49 172 50 5463210 Realtime / Embedded Consultant Email: [EMAIL PROTECTED] Design - Development - Test - QA Web: http://www.bezem.de




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

Reply via email to