help-make
[Top][All Lists]
Advanced

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

Re: Prerequisites processing order


From: Robert P. J. Day
Subject: Re: Prerequisites processing order
Date: Sun, 30 Oct 2005 08:46:11 -0500 (EST)

On Sun, 30 Oct 2005, Angel Tsankov wrote:

>
> ----- Original Message ----- From: "Robert P. J. Day" <address@hidden>
> To: "Angel Tsankov" <address@hidden>
> Cc: "Ken Smith" <address@hidden>; "make-help mailing list"
> <address@hidden>
> 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




reply via email to

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