Re: building executables with pattern rules

2014-07-18 Thread Will Estes
The % should have been present in the rule. I added it in and reran things and yes, the rules are copied in. I note that explicit rules for the individual programs are also copied in, so I assume that's what is overriding the pattern rules. I can't do this with suffix rules since $(EXE) when it

Re: building executables with pattern rules

2014-07-18 Thread Gavin Smith
On Mon, Jul 14, 2014 at 6:49 PM, Will Estes wrote: > I have the following in my Makefile.am, and automake is not using the rule to > build the executable. > > tableopts_nr%.c: tableopts.l4 > $(FLEX) -P $(subst -,_,$(*F)) $* -o $@ $< > > tableopts_nr%.$(OBJEXT): tableopts_nr%.c > $