www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/27/17:56:34

Date: Mon, 27 Jan 1997 15:51:32 -0500 (EST)
From: "Mike A. Harris" <mharris AT sympatico DOT ca>
Reply-To: "Mike A. Harris" <mharris AT sympatico DOT ca>
To: Robin Crampton <robinc AT bacg DOT com>
cc: "djgpp AT delorie DOT com" <djgpp AT delorie DOT com>
Subject: Re: Make strangeness
In-Reply-To: <F57DD73001F73000@c2gate.tcom.co.uk>
Message-ID: <Pine.LNX.3.95.970127154933.135H-100000@capslock.com>
Organization: Your mom.
MIME-Version: 1.0

On Wed, 22 Jan 1997, Robin Crampton wrote:

> >Please post the Makefile, or at least the part thereof which includes   
> the
> >above command.
> 
> Okay (fragment):
> 
> $(CONFIG_HEADER): stamp-h
> stamp-h: $(CONFIG_HEADER_IN) $(top_builddir)/config.status
>     cd $(top_builddir) \
>       && CONFIG_FILES= CONFIG_HEADERS=$(CONFIG_HEADER) \
>          $(SHELL) ./config.status
>     @echo timestamp > stamp-h
> $(srcdir)/$(CONFIG_HEADER_IN): stamp-h.in
> $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL) acconfig.h
>     cd $(top_srcdir) && autoheader
>     echo timestamp > $(srcdir)/stamp-h.in
> 
> After further investigation, the bug appears to be with make/bash,
> 
> all: 
>  echo hello && echo there
> 
> fails in the same way.  Output is
> 
> $ make
> echo hello && echo there
> make.exe: *** [all] Error -1
> 
> So make/bash doesn't like &&.  Hmmm.  Well I _could_ live with that...

But why live WITHOUT it when you can live WITH it!  Use 4DOS, it has
support for && and || just like bash.  Works in Makefiles too!




Mike A. Harris  -  Computer Consultant   http://www3.sympatico.ca/mharris
My dynamic address:      http://www3.sympatico.ca/mharris/ip-address.html
mailto:mharris AT sympatico DOT ca        mailto:mharris AT blackwidow DOT saultc DOT on DOT ca

Want the DR-DOS source code? Visit Caldera's website: www.caldera.com

- Raw text -


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