While writing a make file, I've just hit the situation where I need to
write a rule of the form:
a b c d e: x y z
generate_abcde
Unfortunately, this doesn't work as the semantics are equivalent to the
rules where the targets are separate -- that is generate_abcde gets run
multiple times.
Emake supports this and you can get it in the huddle product which is in a
free beta at the moment. It is gnu make compatible.
I do have an interest in this but I thought I might mention that such a
feature has been implemented already and is used.
Regards,
Tim
On 19 Jan 2016 2:11 p.m., "Philli
Tim Murphy writes:
> Emake supports this and you can get it in the huddle product which is in a
> free beta at the moment. It is gnu make compatible.
>
A pedantic comment about the statement above:
My interest is not in putting down Emake (whatever it is) or
promoting Gnu Make; I just
On 19 January 2016 at 15:17, wrote:
> Tim Murphy writes:
> > Emake supports this and you can get it in the huddle product which is
> in a
> > free beta at the moment. It is gnu make compatible.
> >
>If Emake changes the semantics of the interpretation of a Makefile,
>it is _not_ compa
I’ve had some luck simply pretending the targets are implicit. See
sample makefile below and note that no use is made of the % pattern in
the prereqs.
% cat Makefile
.PHONY: all
all: axx bxx
a% b%: cxx dxx
touch $@
touch bxx
.PHONY: clean
clean:
$(RM) axx bxx
% make clea