[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Pattern rules without commands, does it make sense?
From: |
Leeuwesteijn,Joost |
Subject: |
RE: Pattern rules without commands, does it make sense? |
Date: |
Wed, 3 May 2006 13:59:43 +0200 |
> jl> Just to be sure: are pattern rules without commands
> totally useless?
>
> They're not useless, but they don't do the same thing as
> explicit rules with no commands.
>
> A pattern rule with no commands _deletes_ that pattern rule from the
> make database. See the GNU make manual section "Canceling
> Implicit Rules".
Thanks for clearing this up. I never thought about built-in rules anymore
because I start make with -Rr to clear all the pre-defined rules and vars.
To make sure nothing unexpected happens.
--
Joost