[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Intermediate files and multiple target rules
From: |
Paul Smith |
Subject: |
Re: Intermediate files and multiple target rules |
Date: |
Mon, 01 Apr 2013 13:40:13 -0400 |
On Mon, 2013-04-01 at 12:56 -0400, Andriy Sen wrote:
> I have found inconsistent behavior of make in regard to chain of implicit
> rules with multiple targets.
>
> For example lets suppose we have a rule that generated multiple c++ files:
>
> %1.cpp %2.cpp: %.ext
> [command]
>
> The c++ files are subsequently compiled and linked. GNU make is treating the
> file that triggered the above rule as intermediate and removes it at the end
> but leaves the other one alone.
I believe this is a known bug:
https://savannah.gnu.org/bugs/index.php?32042
Cheers!