delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/24/02:41:08

Message-Id: <200006240638.JAA15429@alpha.netvision.net.il>
Date: Sat, 24 Jun 2000 09:40:28 +0200
X-Mailer: Emacs 20.6 (via feedmail 8.1.emacs20_6 I) and Blat ver 1.8.5b
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
To: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
CC: djgpp AT delorie DOT com
In-reply-to: <mjq7lskslq2g3h46oeobjouvhjuuujantm@4ax.com> (message from Jason
Green on Fri, 23 Jun 2000 23:56:28 +0100)
Subject: Re: Make file wildcards
References: <395309A1 DOT 881A2311 AT pacbell DOT net> <200006230948 DOT MAA02794 AT mailgw1 DOT netvision DOT net DOT il> <3953D200 DOT 897086E1 AT pacbell DOT net> <mjq7lskslq2g3h46oeobjouvhjuuujantm AT 4ax DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
> Newsgroups: comp.os.msdos.djgpp
> Date: Fri, 23 Jun 2000 23:56:28 +0100
>
> > > This is expected behavior.  As written, the implicit rule you used
> > > is just another implicit rule, not unlike the one that Make already
> > > knows about.  When Make sees more than one implicit rule to build the
> > > same target, it chooses the first one, which will always be the one
> > > that's built into Make.
> 
> Do you really mean that?  I don't follow.  Normally if you redefine a
> rule it should overide the built in rule.

Implicit rule is not a rule, in the sense you mean above.

A Makefile can legitimately have several different implicit rules for
the same %.o pattern, and they are all valid.  Make will chose
whatever it sees fit out of them.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019