On Thu, Jul 3, 2008 at 2:15 PM, Sam Steingold <[EMAIL PROTECTED]> 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


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to