delorie.com/archives/browse.cgi | search |
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 |
Message-ID: | <014a01c29be6$d18b5cf0$988501c1@elmo> |
From: | "Alan Larkin" <nobrow AT eircom DOT net> |
To: | <cygwin AT cygwin DOT com> |
Subject: | PATH |
Date: | Wed, 4 Dec 2002 14:45:17 -0800 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4522.1200 |
Apologies if this sends more than once but I dont think it did the first time. I have created a .mak file type in windows and made the following its default action C:\Cygwin\bin\bash.exe --login -cvx +e "TEMP=$(mktemp); $(make -f $0 &> $TEMP) || less $TEMP; rm $TEMP" %1 the intention being to be able to make a makefile by double clicking its icon and capture the output if there are any errors. This worked fine whatever way I have cygwin setup on my windows 98 machine but on 2000 I have a problem. 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:. ), /etc/profile, and /etc/profile.default all have it. I could continue adding this randomly but thought it wiser to just ask. How do I do what I want? Perhaps theres something I could add to the action above that makes it look in . for files. Thanks. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |