In the example of 6.12, page 69,  what is the stem for lib/bar.o against
lib/%.o? it is bar i think.
and the stem against %.o is lib/bar.
The second stem is longer so why CFLAGS is not set to -g?


On Mon, Apr 18, 2011 at 4:59 AM, Paul Smith <[email protected]> wrote:

> On Tue, 2011-04-05 at 07:40 +0430, ali hagigat wrote:
> > 6.12 Pattern-specific Variable Values
> > If a target matches more than one pattern, the matching
> > pattern-specific variables with
> > longer stems are interpreted first.
> > -------------------------------------------
> > The above words of the documentation seems to be corrected with
> > "shorter stems".
>
> No, the manual is correct.  The longer stems are preferred over shorter
> stems.
>
> --
>
> -------------------------------------------------------------------------------
>  Paul D. Smith <[email protected]>          Find some GNU make tips at:
>  http://www.gnu.org                      http://make.mad-scientist.net
>  "Please remain calm...I may be mad, but I am a professional." --Mad
> Scientist
>
>
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to