|
From: | Bruno Haible |
Subject: | Re: "make -jN" requires mechanical changes to a Makefile |
Date: | Sat, 11 May 2019 00:42:43 +0200 |
User-agent: | KMail/5.1.3 (Linux/4.4.0-145-generic; KDE/5.18.0; x86_64; ; ) |
Henrik Carlqvist wrote: > If you really prefer to write rules which generates more than one target > the "right" way to avoid parallel make would be to add the .NOTPARALLEL > target in the Makefile. This way allows to turn off parallel make for a single Makefile. Indeed, this might be a better compromise, when only few Makefiles have problems with parallel make. Whereas the snippet I showed turns it off for an entire package (when placed in the top-level Makefile). Thanks for the suggestion. Bruno
[Prev in Thread] | Current Thread | [Next in Thread] |