Subject: Re: bug in cygwin build of Make
From: Robert Mecklenburg <[email-masked]>
To: Jason Pearce <[email-masked]>
Cc: [email-masked]
Date: Thu, 15 Jan 2004 10:47:00 -0700

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/