Date: Thu, 22 Apr 1999 17:03:03 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: CRETEL Dominique cc: djgpp AT delorie DOT com Subject: Re: Help for Makefile In-Reply-To: <371F261B.2267AB76@cfwb.be> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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 ;-).