delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/12/13:00:17

Date: Thu, 12 Aug 1999 10:33:36 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Fabien Lieval <fabien DOT lieval AT innovatron DOT fr>
cc: djgpp AT delorie DOT com
Subject: Re: Problem with Make target
In-Reply-To: <3.0.3.32.19990810171505.006a13d4@mail.danton.innovatron.fr>
Message-ID: <Pine.SUN.3.91.990812103313.9373H-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 Tue, 10 Aug 1999, Fabien Lieval wrote:

> I'm working with GNU Make version 3.75, but when I run it, it complains : 
> 
> 	"make.exe: *** No rule to make target `Gcc', needed by `prog.exe'.  Stop."

That's because your Makefile is wrong.  See below.

> prog.exe : $(objects) \                   <- is this antislash necessary ?

This backslash is actually the cause of your trouble.  It makes the
command be part of the dependencies.  Remove the backslash, and the
problem should go away.

Btw, Make 3.75 is very old.  I suggest to download and install the
latest version 3.77, as it fixes a few bugs, some of them important
for DJGPP users.

- Raw text -


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