[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Trying to get rid of one redundand rule
From: |
John Graham-Cumming |
Subject: |
RE: Trying to get rid of one redundand rule |
Date: |
Tue, 14 Jun 2005 13:40:07 -0400 |
On Tue, 2005-06-14 at 13:34 -0400, Paul D. Smith wrote:
> %% John Graham-Cumming <address@hidden> writes:
>
> >> find them and an implicit rule for .cpp->.o triggers instead?
>
> jg> Because the built in %.o : %.cpp rule takes precedence.
>
> It definitely shouldn't. Patterns are tested in the order they are
> defined, and any pattern defined in a makefile is tested before any
> builtin pattern.
Ah, I am wrong. I apologize.
John.
--
John Graham-Cumming
Home: http://www.jgc.org/
Work: http://www.electric-cloud.com/
POPFile: http://getpopfile.org/
GNU Make Standard Library: http://gmsl.sf.net/