bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suffix rules with dependencies


From: Paul Smith
Subject: Re: Suffix rules with dependencies
Date: Mon, 16 Sep 2013 08:11:25 -0400

On Mon, 2013-09-16 at 08:48 +0300, Eli Zaretskii wrote:
> In this thread:
> 
>    http://lists.gnutls.org/pipermail/gnutls-devel/2013-September/006453.html
> 
> and specifically in this message and its followups:
> 
>   http://lists.gnutls.org/pipermail/gnutls-devel/2013-September/006460.html
> 
> there's evidence that GNU Make no longer treats suffix rules with
> prerequisites "as normal files with funny names", as described in the
> manual.
> 
> Did the behavior indeed change, and if so, in what version of Make?  I
> couldn't find anything in NEWS, FWIW.

I went back to GNU make 3.74 and I can't find any version that behaves
as the manual documents, including 3.8* or current HEAD.  However they
all behave the same way which means that I can't reproduce the problem
described in the gnutls mailing list either.

Maybe my test makefile has a flaw?

#----------
.SUFFIXES:
.SUFFIXES: .x .y .q .r

.x.y: foo.h ; @echo cp $< $@

.q.r: ; @echo cp $< $@
#----------

Then I ran "touch foo.h foo.x foo.q".

Now when I run both "make foo.r" and "make foo.y", it runs the
appropriate suffix rule.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]