bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Error in gnu make?


From: Andreas Schwab
Subject: Re: Error in gnu make?
Date: Mon, 11 Mar 2002 21:45:45 +0100
User-agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux)

"Paul D. Smith" <address@hidden> writes:

|> %% address@hidden (j) writes:
|> 
|>   j> Why did the writers of gnu make choose this convension?
|> 
|> I don't know, but it's been like that forever.  The only thing I can
|> suggest is that a "pattern" is a well-defined concept in make, and it
|> _always_ refers to a string (with no whitespace) containing either zero
|> or one "%" character.
|> 
|> Perhaps the authors simply didn't want to make the prerequisite patterns
|> inconsistent with all the other uses of patterns in GNU make, even
|> though that would have been possible without ambiguity in this case.
|> 
|> 
|> But, you'd have to ask RMS and/or Roland McGrath to be sure.

According to the manual, pattern rules have been invented before GNU make:

   * Pattern rules using `%'.  This has been implemented in several
     versions of `make'.  We're not sure who invented it first, but
     it's been spread around a bit.  *Note Defining and Redefining
     Pattern Rules: Pattern Rules.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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