bug-make
[Top][All Lists]
Advanced

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

Re: Order-only prerequisites


From: Henrik Carlqvist
Subject: Re: Order-only prerequisites
Date: Wed, 7 Jun 2023 18:05:12 +0200

On Wed, 07 Jun 2023 08:29:15 +0200
> As I said, a way to specify in which order recipes are invoked
> (here, a before b) if they are invoked, without influencing whether
> they are invoked (only a, only b or a and b, as given on the command
> line).

So you really don't want any target to depend upon another target? Then why do
you care about the order? If order is important, what would happen if make is
run with -j and starts several jobs in parallell? 

In practice, targets are built in the order that they are given on the command
line or as dependencies in a rule. However, there is no guarantee that any
Make is implemented that way. If you really have a need to specify the order
of things you probably have that need because of some dependency between
targets.

regards Henrik



reply via email to

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