[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Making sub grouping of directories build in parallel
From: |
John Graham-Cumming |
Subject: |
Re: Making sub grouping of directories build in parallel |
Date: |
Tue, 27 Mar 2007 11:48:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040208 Thunderbird/0.5 Mnenhy/0.6.0.104 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Reeder, Mark wrote:
> What I want to do:
>
> build the “scr/lib” directories in parallel
> followed by the “src/bin” directories built in parallel
> followed by the “src/images” directories built in parallel.
Take a look at this article I wrote (and especially the section called
"The right way to do recursive Make"):
http://www.cmcrossroads.com/component/option,com_smf/Itemid,180/topic,70108.msg76426#msg76426
Using the .PHONY on sub-directories trick (from the GNU Make manual) you
can then have dependencies between the directories:
src/images: src/bin
src/bin: src/lib
John.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGCOhQLphrp73n/hARAsvQAKDZW172YYeNUOBZFdAEHLQArhw67QCg1csF
8lXfIyKnFo5fC7IoOV7b8II=
=6fRK
-----END PGP SIGNATURE-----