delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/04/10:14:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 4 Dec 2002 10:14:41 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: PATH
Message-ID: <20021204151441.GG26318@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <014a01c29be6$d18b5cf0$988501c1 AT elmo>
Mime-Version: 1.0
In-Reply-To: <014a01c29be6$d18b5cf0$988501c1@elmo>
User-Agent: Mutt/1.5.1i

On Wed, Dec 04, 2002 at 02:45:17PM -0800, Alan Larkin wrote:
>I have a Makefile.mak which contains the rule
>
>Lexer.c: Lexer.l
>
>(using the implict rule for lexing).  When I try making it (by double
>clicking) it complains that make cannot find a rule to make Lexer.l
>needed by Lexer.c.  Lexer.l is of course in the working directory but
>it doesnt seem to find it.  Ive added .: to the PATH all over the
>place! /home/alan/.bash_profile (which now just looks like
>
>export PATH=$PATH:.

AFAIK, the PATH isn't used to find files in make.  Given that you have
mixed case in the above example, I'm guessing that you probably have
an incorrect case in the actual filename, i.e., the file is actually
called lExer.L or something like that.  If you do this:

  mv lexer.l foo; mv foo Lexer.l

you may be able to correctly set the filename case.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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