[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: target `configure' doesn't match the target pattern
From: |
Garrett Cooper |
Subject: |
Re: target `configure' doesn't match the target pattern |
Date: |
Thu, 3 Jul 2008 15:07:55 -0700 |
On Thu, Jul 3, 2008 at 2:15 PM, Sam Steingold <address@hidden> wrote:
> I get this error:
>
> $ make -f Makefile.devel configures
> Makefile.devel:81: target `configure' doesn't match the target pattern
>
> the relevant parts of Makefile.devel:
>
> SUBDIRS_CONFIGURE = . avcall vacall trampoline callback \
> callback/vacall_r callback/trampoline_r
> CONFIGURES = $(patsubst %,%/configure,$(SUBDIRS_CONFIGURE))
>
> configures : $(CONFIGURES)
>
> $(CONFIGURES) : %/configure : %/configure.in $(AUTOCONF_FILES)
> cd $*; $(AUTOCONF) --include=$(CURDIR)
>
> line 81 is the line starting with "$(CONFIGURES) : ..."
>
> I understand that "configure" does not match "%/configure",
> but "configure" is not in $(CONFIGURES),
> "./configure" is - and it _should_ match "%/configure".
>
> So, what am I doing wrong?
>
> thanks.
Deferred variable expansion, i.e. should
#-----------
configures : $(CONFIGURES)
$(CONFIGURES) : %/configure : %/configure.in $(AUTOCONF_FILES)
cd $*; $(AUTOCONF) --include=$(CURDIR)
#-----------
be in a define block?
-Garrett