[MPlayer-dev-eng] Re: [PATCH] vidix makefile and paralle build

Alban Bedel albeu at free.fr
Sun Mar 26 08:54:23 CEST 2006


On Sun, 26 Mar 2006 00:07:49 +0100
Alban Bedel <albeu at free.fr> wrote:

> 
> Hi all,
> 
> their is a little quirk in the vidix Makefile that make parelle build
> suboptimal. First problem is the DO_MAKE macro, it call make on all subdirs.
> The problem is that this is done in a shell loop, so make can't detect that
> the job is another make. As their is only one subdir that macro seem pretty
> useless, so i simply removed it.
> Another pb is the 'all' rule where DO_MAKE is used as target preventing
> building the library and the drivers in parallel. The patch add an
> extra rule to build the drivers and put it as prerequisite for "all".
> The same thing could be done for the other rules but it's probably
> not really worse the kludge in the makefile.

And their is a nice 10L in the previous patch. The 'all' rule should stay
the first one, here is a corrected patch.

	Albeu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vidix-makefile.diff
Type: application/octet-stream
Size: 1093 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060326/d09630d4/attachment.obj>


More information about the MPlayer-dev-eng mailing list