Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: Robert Mecklenburg MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16390.53780.359000.698061@gargle.gargle.HOWL> Date: Thu, 15 Jan 2004 10:47:00 -0700 To: Jason Pearce Cc: cygwin AT cygwin DOT com Subject: Re: bug in cygwin build of Make In-Reply-To: <400506B3.6000902@ieee.org> References: <400506B3 DOT 6000902 AT ieee DOT 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/