|
From: | John Calcote |
Subject: | Re: ignore errors on specific command |
Date: | Wed, 31 Mar 2010 10:36:26 -0600 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
On 3/31/2010 9:59 AM, David Boyce wrote:
On Wed, Mar 31, 2010 at 11:37 AM, John Calcote<address@hidden> wrote:How about this: all: c1 c2 c3 c1: cmd1 c2: -cmd2 c3: cmd3This would work but would also require: .PHONY: c1 c2 c3 .NOTPARALLEL: and is generally less useful than the previous solution. The ordering is also unlear to a non-make-expert.
Something else that occurred to me after I hit "send" is that parallel make would have a problem with my suggestion too. When not using -j the order is as specified in the list of dependencies, but with -j, dependencies that are not related to each other are considered parallelizable.
John
[Prev in Thread] | Current Thread | [Next in Thread] |