Re: Intermediate files and multiple target rules

2013-04-01 Thread Andriy Sen
I believe this is a known bug: https://savannah.gnu.org/bugs/index.php?32042 Sorry, I didn't find the bug list... I tried to work around it by setting .INTERMEDIATE but the effect was opposite to the expected: now make doesn't delete intermediate files at all... (BTW searching for INTERMEDIA

Re: Intermediate files and multiple target rules

2013-04-01 Thread Paul Smith
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++ fil

Intermediate files and multiple target rules

2013-04-01 Thread Andriy Sen
Hello, 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