www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/05/09:11:55

From: G DOT DegliEsposti AT ads DOT it
To: "Trond Erik Bones" <tebones AT st DOT telia DOT no>
cc: djgpp AT delorie DOT com
Message-ID: <C12565A2.004D4C5A.00@vega.ads.it>
Date: Thu, 5 Feb 1998 15:10:41 +0100
Subject: Re: Trouble with makefile !
Mime-Version: 1.0




>I am trying to compile a program with DJGPP GCC in windows95, but can't
>understand an error.
>The makefile(attached) just cd's into every sub-dir and builds the stuff
>thats there.
>
>I get the following error message :
>
>(cd laba_util ; make)
>Bad command or filename
It seems like the makefile was made to run on a Unix system:
DOS (and win95) doesn't recognize the subshell "( <commands> )" construct
like
unix shells do.

I think command.com doesn't even recognize a command separator ";" so you
have to split the command into many lines. try if this helps:

target: files
  (cd laba_util; make)

changed into:

target: files
  cd laba_util \
  make

ciao
  Giacomo




- Raw text -


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