This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bug in cygwin build of Make


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]