Date: Mon, 19 Feb 2001 08:50:40 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Eddy Ilg cc: djgpp AT delorie DOT com Subject: Re: Win 2000 and ; In-Reply-To: <96pan4$188$02$1@news.t-online.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk On Sun, 18 Feb 2001, Eddy Ilg wrote: > When I try this it fails. > > main.obj: main.c > $(CC) main.c -omain.obj; echo "test" Fails--how? Does it fail to compile? Doesn't it print "echo" as you wanted it? What goes wrong, exactly, that leads you to believe it fails? > make tries to execute the command $(CC) main.c -o$(OBJ)/main.obj; echo > "test" as one and NOT $(CC) main.c -o$(OBJ)/main.obj and echo "test" > sepeartely. > Why could this be? It's a feature: the DJGPP port of Make supports multiple commands on a single command line. It does run the commands one after the other, however. So I wonder what exactly failed for you.