This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
PATH
- From: "Alan Larkin" <nobrow at eircom dot net>
- To: <cygwin at cygwin dot com>
- Date: Wed, 4 Dec 2002 14:45:17 -0800
- Subject: PATH
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/