Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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/