[gnutls-devel] -jX broken for X > 2 (in guile)
Eli Zaretskii
eliz at gnu.org
Sat Sep 14 09:02:02 CEST 2013
> From: ludo at gnu.org (Ludovic Courtès)
> Date: Fri, 13 Sep 2013 23:50:51 +0200
>
> Could you try this:
>
> diff --git a/guile/src/Makefile.am b/guile/src/Makefile.am
> index 1077502..7dedd41 100644
> --- a/guile/src/Makefile.am
> +++ b/guile/src/Makefile.am
> @@ -102,7 +102,7 @@ priorities.i.c: $(srcdir)/make-session-priorities.scm
> snarfcppopts = $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
> $(CFLAGS) $(guile_gnutls_v_2_la_CFLAGS)
>
> -.c.x: $(GENERATED_BINDINGS)
> +%.x: %.c $(GENERATED_BINDINGS)
> $(guile_snarf) -o $@ $< $(snarfcppopts)
>
This requires GNU Make, doesn't it?
> I just noticed this (info "(make) Suffix Rules"):
>
> Suffix rules cannot have any prerequisites of their own. If they
> have any, they are treated as normal files with funny names, not as
> suffix rules.
The usual way of working around this is to have separate dependencies
for the *.c files.
More information about the Gnutls-devel
mailing list