Thanks

On Mon, Mar 7, 2016 at 4:43 PM, Nicholas Leippe <[email protected]> wrote:

> My previous example is incomplete. Some examples of how to do pattern
> matches combined with wildcard expansions, although still probably not a
> good enough example set:
>
> http://stackoverflow.com/questions/1633527/wildcard-targets-in-a-makefile
>
> You can also ask the gnu make mailing list--they are pretty quick to
> respond.
>
>
> On Mon, Mar 7, 2016 at 4:37 PM, Nicholas Leippe <[email protected]> wrote:
>
> >
> https://www.gnu.org/software/make/manual/html_node/Wildcards.html#Wildcards
> >
> > Says that it accepts the same wildcard characters as bash for expansion
> > inside targets and filenames, so
> >
> > [0-9]-[0-9][0-9].cfg: %m4 $(DEFFILES) .... should work
> >
> >
> > On Mon, Mar 7, 2016 at 2:32 PM, Jeff Jibson <[email protected]> wrote:
> >
> >> I have a single source file, va.m4, and need to setup rules like:
> >>
> >> %s-ii.cfg : %m4 $(DEFFILES)
> >> <tab>$(M4) -I $(CURDIR) -D S=s -D I=ii < $< > $*s-ii.cfg
> >>
> >>
> >> where s is a single digit number, ii is a double digit number, the fist
> >> might be a leading 0
> >>
> >> I can think of ways to do it with multiple rules, but not a single rule.
> >> Any suggestions?
> >>
> >> /*
> >> PLUG: http://plug.org, #utah on irc.freenode.net
> >> Unsubscribe: http://plug.org/mailman/options/plug
> >> Don't fear the penguin.
> >> */
> >>
> >
> >
>
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */
>

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to