[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Precedence in target rules executed in parallel
From: |
Riccardo Manfrin |
Subject: |
Re: Precedence in target rules executed in parallel |
Date: |
Wed, 16 Oct 2013 11:07:11 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
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)
...