On Sun, 30 Oct 2005, Angel Tsankov wrote:

>
> ----- Original Message ----- From: "Robert P. J. Day" <[EMAIL PROTECTED]>
> To: "Angel Tsankov" <[EMAIL PROTECTED]>
> Cc: "Ken Smith" <[EMAIL PROTECTED]>; "make-help mailing list"
> <[email protected]>
> Sent: Sunday, October 30, 2005 2:44 PM
> Subject: Re: Prerequisites processing order
>
>
> > On Sun, 30 Oct 2005, Angel Tsankov wrote:
> >
> > > OK, if I define this relationship:
> > >
> > > target: prereq1 prereq2
> > >
> > > and execute make with -j option is there any chance that prereq2 is
> > > processed before prereq1?
> >
> > sure.  make doesn't place any ordering constraints on pre-requisites.
> >
> > rday
> >
>
> So, how do I ensure specific processing order of the prerequisites
> of some targets even if make is invoked with -j?

if prereq2 has to be done before prereq1, then make the latter a
prerequisite of the former.

target: prereq1

prereq1: prereq2


rday


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

Reply via email to