On Tue, Jun 02, 2009 at 02:53:00PM EDT, Ralf Wildenhues wrote:
> Hello Tim,
>
> * Tim Frink wrote on Mon, Jun 01, 2009 at 08:13:50PM CEST:
> > ruleA:
> > $(call ruleB,file1)
> >
> > ruleB = \
> > if [ -f $(1) ] && [ -f file2 ]; then \
> > awk '/^#/ { next } {print}' file2;
Hello Tim,
* Tim Frink wrote on Mon, Jun 01, 2009 at 08:13:50PM CEST:
> ruleA:
> $(call ruleB,file1)
>
> ruleB = \
> if [ -f $(1) ] && [ -f file2 ]; then \
> awk '/^#/ { next } {print}' file2; \
> else \
> ex
Sorry, if the question about Makefiles is off-topic here but I didn't find
Makefile-specific NG.
I try to use a call function in a Makefile.
This code was up to now part of a Makefile rule:
ruleA:
$(MAKE) ruleB
ruleB:
if [ -f file1 ] && [ -f file2 ]; then \