bug-make
[Top][All Lists]
Advanced

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

Re: Suffix rules with dependencies


From: Ludovic Courtès
Subject: Re: Suffix rules with dependencies
Date: Mon, 16 Sep 2013 17:55:59 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Paul Smith <address@hidden> skribis:

> 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".

Does ‘foo.y’ get rebuilt when you run “touch foo.h”?

(I haven’t been able to reproduce the problem myself, but I saw the
manual said that what I did should not work.)

Ludo’.



reply via email to

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