----- Original Message ----- From: "Ken Smith" <[EMAIL PROTECTED]>
To: "Angel Tsankov" <[EMAIL PROTECTED]>
Cc: "Paul D. Smith" <[EMAIL PROTECTED]>; "make-help mailing list" <[email protected]>
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?


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

Reply via email to