help-gnu-utils
[Top][All Lists]
Advanced

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

Re: make: using wildcard in rule based on stem


From: r . grosmann
Subject: Re: make: using wildcard in rule based on stem
Date: Thu, 23 Oct 2014 04:21:02 -0700 (PDT)
User-agent: G2/1.0

Found it. Just in case someone stumbles upon this (seems there is not much 
activity here), here is what I did.
It has something to do with the automatic variable scope. I don't fully 
understand it, but this is the solution to the problem

.SECONDEXPANSION:
$(OBJS): %.html: %.in $$(wildcard *.$$*)
    do_it $<

For target sample.html, it depends on sample.in and on all files *.sample in 
the directory.

Ruud 


reply via email to

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