help-make
[Top][All Lists]
Advanced

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

Re: Prerequisites processing order


From: Angel Tsankov
Subject: Re: Prerequisites processing order
Date: Sun, 30 Oct 2005 14:45:51 +0200


----- Original Message ----- From: "Ken Smith" <address@hidden>
To: "Angel Tsankov" <address@hidden>
Cc: "Paul D. Smith" <address@hidden>; "make-help mailing list" <address@hidden>
Sent: Sunday, October 30, 2005 12:24 AM
Subject: Re: Prerequisites processing order


On Sat, Oct 29, 2005 at 10:32:49AM +0300, Angel Tsankov wrote:
>If you want to use -j you MUST declare all dependency >relationships
>and
>not rely on any ordering implicit in the makefile.
>

How do I define dependency relationships?

Paul is just saying that you have to create rules for all the files that
your build deals with.  Dependency relationships are defined, as you
may already know, with the following syntax.

target: prerequisite

In the vernacular of the build world, 'prerequisite' is a dependency of
'target'.  There is a dependency relationship between 'target' and
'prerequisite'.

 Ken

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?




reply via email to

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