| delorie.com/archives/browse.cgi | search | 
| Date: | Thu, 22 Apr 1999 17:03:03 +0300 (IDT) | 
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> | 
| X-Sender: | eliz AT is | 
| To: | CRETEL Dominique <dominique DOT cretel AT cfwb DOT be> | 
| cc: | djgpp AT delorie DOT com | 
| Subject: | Re: Help for Makefile | 
| In-Reply-To: | <371F261B.2267AB76@cfwb.be> | 
| Message-ID: | <Pine.SUN.3.91.990422165838.8091A-100000@is> | 
| MIME-Version: | 1.0 | 
| Reply-To: | djgpp AT delorie DOT com | 
| X-Mailing-List: | djgpp AT delorie DOT com | 
| X-Unsubscribes-To: | listserv AT delorie DOT com | 
On Thu, 22 Apr 1999, CRETEL Dominique wrote:
> Here is the Makefile, but I don't understand why make want to execute 
> the built library!!!
It's because of this line:
RANLIb   = ranlib
See that lower-case `b' at the end of `RANLIb'?  This leaves the variable 
$(RANLIB) (with the upper-case `B') undefined, i.e. empty, and then the 
command in this rule:
$(BIB): $(ELTS)
        $(RANLIB) $@ 
expands into " libsfl.a".  The leading blanks are stripped, and the rest 
is history, as they say ;-).
| webmaster | delorie software privacy | 
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |