delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/01/26/14:56:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <20000126195535.2430.qmail@web114.yahoomail.com>
Date: Wed, 26 Jan 2000 11:55:35 -0800 (PST)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: RE: B20.1: make dependencies broken
To: Kevin Wright <kwright AT uk DOT mdis DOT com>, Cygwin <cygwin AT sourceware DOT cygnus DOT com>
MIME-Version: 1.0

To answer what the difference is:

NTTOOLS = $(NTTOOLSDIR)/f1.bat \\r\n
          $(NTTOOLSDIR)/f2.bat \r\n

Ok.  You problen with .bat is that it is an suffix that isn't a default one. 
What happens if you add .SUFFIXES .bat?

Earnie.

--- Kevin Wright <kwright AT uk DOT mdis DOT com> wrote:
> Changing my make file to \n line endings didn't make any difference.
> Any way what effect could \n endings have on whether or not there's a .bat
> extension ?
> The line brake after the \ doesn't make any difference.  The two file can be
> on the same line.
> 
> > -----Original Message-----
> > From: cygwin-owner AT sourceware DOT cygnus DOT com
> > [mailto:cygwin-owner AT sourceware DOT cygnus DOT com]On Behalf Of Earnie Boyd
> > Sent: 26 January 2000 14:59
> > To: Kevin Wright; Cygwin
> > Subject: Re: B20.1: make dependencies broken
> >
> >
> > Sounds like a \r\n problem to me.  Convert the Makefile line endings to \n
> > endings only.
> >
> > Earnie.
> >
> > --- Kevin Wright <kwright AT uk DOT mdis DOT com> wrote:
> > > I've found the following problem with make on B20.1.
> > > Try the following makefile:
> > > ------------------------------
> > > NTTOOLSDIR = /tmp
> > >
> > > NTTOOLS = $(NTTOOLSDIR)/f1.bat \
> > >           $(NTTOOLSDIR)/f2.bat
> > >
> > > All: $(NTTOOLS)
> > >
> > > $(NTTOOLS): $(NTTOOLSDIR)/%: %
> > >
> > > $(NTTOOLS):
> > >         # making $@ due to $?
> > >         cp $? $@
> > > --------------------------------
> > >
> > > now touch f1.bat f2.bat
> > >
> > >
> > > make always reports:
> > > make: Nothing to be done for `All'.
> > >
> > > Removing the .bat extension on f1/f2 fixes the problem.
> > > Removing the second file from NTTOOLS fixes the problem.
> > >
> > > This all worked fine on B17.
> > >
> > > I'm using NT4 SP5
> > >
> > > I've tried searching the archives for this problem, but can't
> > find anything
> > > similar.
> > >
> > >
> > > --
> > > Want to unsubscribe from this list?
> > > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
> > >
> > >
> > __________________________________________________
> > Do You Yahoo!?
> > Talk to your friends online with Yahoo! Messenger.
> > http://im.yahoo.com
> >
> > --
> > Want to unsubscribe from this list?
> > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
> 
> 
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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