|
From: | tom honermann |
Subject: | Re: Static multiple target rules |
Date: | Wed, 31 Mar 2010 02:26:10 -0700 |
User-agent: | Thunderbird 2.0.0.24 (Windows/20100228) |
On 3/31/2010 1:01 AM, tom honermann wrote:
True, but it introduces the problem of making sense of these:Strike that. It seems Solaris make does not insert '+' connectors and does support multiple target groups. This behavior can be seen with rules that fail to actually produce all group members. all: a1 a2 a3 a4The above Makefile has two target groups: a1+a2 and a3+a4. The group target rule however will only build the "current" target. $ make cleanOnly a1 is built. Solaris make assumes a2 was built as well (or treats it similar to GNU make .PHONY targets) $ make cleanBoth a1 and a3 are built in this last case since a1 and a3 are not in the same group. $ make cleanThe first make invocation builds a1 and a3 and assumes a2 and a4 were built. A second invocation causes a2 and a4 to actually get built. Tom. |
[Prev in Thread] | Current Thread | [Next in Thread] |