This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: bug in cygwin build of Make
- From: Robert Mecklenburg <mecklen at comcast dot net>
- To: Jason Pearce <jason dot pearce at ieee dot org>
- Cc: cygwin at cygwin dot com
- Date: Thu, 15 Jan 2004 10:47:00 -0700
- Subject: Re: bug in cygwin build of Make
- References: <400506B3.6000902@ieee.org>
JP> dir1/Makefile:
JP> --------------
JP> VARIABLE = $(shell echo $$PWD)
JP>
JP> sources :
JP> @echo VARIABLE set to ${VARIABLE}
The GNU make variable CURDIR is set by make to the current working
directory of the executing make. This is probably the variable you
want.
Hope this helps,
--
Robert
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/