www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/05/10:20:41

Date: Thu, 5 Feb 1998 17:19:29 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: G DOT DegliEsposti AT ads DOT it
cc: Trond Erik Bones <tebones AT st DOT telia DOT no>, djgpp AT delorie DOT com
Subject: Re: Trouble with makefile !
In-Reply-To: <C12565A2.004D4C5A.00@vega.ads.it>
Message-ID: <Pine.SUN.3.91.980205171137.29681C-100000@is>
MIME-Version: 1.0

On Thu, 5 Feb 1998 G DOT DegliEsposti AT ads DOT it wrote:

> I think command.com doesn't even recognize a command separator ";" so you
> have to split the command into many lines.

Please note that the DJGPP port of Make doesn't call COMMAND.COM to run 
the commands from a Makefile.  It emulates the COMMAND.COM functionality 
internally, and the emulator *does* support multiple commands separated 
by a semi-colon.

However, it does NOT support the parenthesized command groups.  If the 
Makefile really needs them, the solution is to install the port of Bash.

> try if this helps:
> 
> target: files
>   (cd laba_util; make)
> 
> changed into:
> 
> target: files
>   cd laba_util \
>   make

I would suggest to test your solutions before you post them, or at least
tell that they are untested.  The above will not work, since it is
equivalent to this: 

	target: files
		cd laba_util make

(The backslash causes Make to discard the newline.)

- Raw text -


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