bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Intermediate files and multiple target rules


From: Andriy Sen
Subject: Intermediate files and multiple target rules
Date: Mon, 1 Apr 2013 12:56:29 -0400


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 the file that triggered the above rule as intermediate and removes it at the end but leaves the other one alone.

The version of make I'm using is 3.81.

Thanks,
Andriy




reply via email to

[Prev in Thread] Current Thread [Next in Thread]