help-make
[Top][All Lists]
Advanced

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

Re: looping over prerequisites


From: Johan Bezem
Subject: Re: looping over prerequisites
Date: Tue, 05 Oct 2004 08:18:13 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

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 "address@hidden" 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: address@hidden
Design - Development - Test - QA     Web:   http://www.bezem.de






reply via email to

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