On Wed, Dec 03, 2008 at 11:22:53AM +0800, Jack wrote:
> Hi, Make team
>
> Let me give you an example first. My project Make with following steps:
> 1. make $(HOME)/$(HOME)/lib/; make src/; make $(HOME)/util/;
> 2. make $(HOME)/
>
> In the first step, lib/, src/, util/ could be Maked parallel, after
> the first step finished, then Make execute step 2 to produce exe-file.
> As multi-core cpu is popular today, I think it is a wonderful for
> Make to support parallel compiling.
Use the parameter -j to enable parallel build of your targets.
-j takes an optional parameter that limits the number of
parallel processes. As a rule of thumb specify twice the amount of
processors (cores) you have.
Sam
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make