On 10/16/2013 10:54 AM, Riccardo Manfrin wrote:
How to force precedence in target rules when invoking make with -jn with n>1 (on a multi core/threads machine)?

Let me clarify:

I have the following tagets/prerequisites rules:

all: $(MYLIB) TEST


$(MYLIB):
    ....

TEST:
    ...

I quite solved myself, although I'm not sure this is ok, it works:


all: $(MYLIB) TEST


$(MYLIB):
    ....

TEST: $(MYLIB)
    ...

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

Reply via email to