[Top][All Lists]

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

Re: "make -jN" requires mechanical changes to a Makefile

From: Howard Chu
Subject: Re: "make -jN" requires mechanical changes to a Makefile
Date: Sun, 12 May 2019 22:48:49 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0 SeaMonkey/2.53

Bruno Haible wrote:
> Henrik Carlqvist wrote:
>> Example with one rule creating 4 files:
>> all : copy1 
>> copy1: Makefile
>>         install -c -m 644 Makefile copy1
>>         install -c -m 644 Makefile copy2
>>         install -c -m 644 Makefile copy3
>>         install -c -m 644 Makefile copy4
> I think the "representative" file should be copy4 here, because it's the one
> that gets created last.

That sort of thing is only true in serial make, you can't rely on it in 
parallel make.

  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/

reply via email to

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