help-make
[Top][All Lists]
Advanced

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

Re: Oddity with make and % macro


From: Brian J. Murrell
Subject: Re: Oddity with make and % macro
Date: Mon, 26 Mar 2001 07:31:36 -0800
User-agent: Mutt/1.3.15i

On Mon, Mar 26, 2001 at 09:25:30AM -0500, Paul D. Smith wrote:
> %% "Brian J. Murrell" <address@hidden> writes:
> 
> Look at the section "Chains of Implicit Rules" in the GNU make manual,
> and/or look up "intermediate files" in the index.
> 
> All will be made clear.

OK, it is all clear (I think :-).  I added:

.SECONDARY: .bar-%
 
To prevent the removol of .bar-<string> (where <string> is named in
"make doit<string>").  That did not work.  Creating:

.SECONDARY: .bar-test

and then doing a "make doittest" did as I expected.  I guess that one
cannot use the % macro in .SECONDARY targets?

b.

-- 
Brian J. Murrell



reply via email to

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