[Top][All Lists]

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

Re: let me rephrase that -- question about empty commands

From: Noel Yap
Subject: Re: let me rephrase that -- question about empty commands
Date: Tue, 16 Dec 2003 10:57:59 -0500

"Paul D. Smith" wrote:
>   ny> Anyway, the behaviour I had seen was when I had somithing like the
>   ny> following rules:
>   ny>   .SUFFIXES: .pm
>   ny>   $(build.DIR)/common/ $(build.DIR)/common/
> First note that all your uses of .SUFFIXES here are useless: .SUFFIXES
> is _ONLY_ used for suffix rules.  These are pattern rules, so you don't
> need to set .SUFFIXES, and the value of .SUFFIXES isn't used.

Hmmm, I could've sworn I had seen behaviour changes due to missing .SUFFIXES:.  
I'll try removing them to see what happens.

>   ny>   .SUFFIXES: .pm
>   ny>   $(build.DIR)/common/ $(build.DIR)/common/
>   ny>         @:
>   ny> Is this expected behaviour?
> Yes, this is correct behavior.  This is a pattern rule, not an explicit
> rule like the example in the whitepaper.  Pattern rules work
> differently.
> See the section "Canceling Implicit Rules" in the GNU make manual.


NOTICE: If received in error, please destroy and notify sender.  Sender does 
not waive confidentiality or privilege, and use is prohibited.

reply via email to

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