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.
*/

Reply via email to