www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/27/17:18:36

Sender: nate AT cartsys DOT com
Message-ID: <36365376.37C16E42@cartsys.com>
Date: Tue, 27 Oct 1998 15:12:54 -0800
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i486)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: makefile probs
References: <3634D56D DOT B8834474 AT clover DOT c2d DOT fedex DOT com> <3634EC3F DOT 4BCFF70A AT montana DOT com>
Reply-To: djgpp AT delorie DOT com

bowman wrote:
> 
> Walter Moore wrote:
> >
> > Question,
> > This make file works with gmake on solaris, why do I get complaints
> > on Win95? These are the errors I get, which I believe are due to the
> > lines with '-@if':
> > Syntax error
> > Bad command or file name
> 
> are you running bash or an equivalent as a shell? That is the error I
> get if
> I try to feed a @do construct to command.com.

The `@' part works fine, it just tells `make' not to echo the command
line.  But you have a Unixy-shell style `if' in there, and a few other
things.  If you get and install `bash', I believe things will work (you
might have to set SHELL=bash, read Make's README.DOS).
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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