Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Fri, 9 Jun 2000 12:43:25 -0400 To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: Running $(shell pwd) in makefile. Message-ID: <20000609124325.C23003@cygnus.com> Reply-To: cygwin AT sourceware DOT cygnus DOT com Mail-Followup-To: cygwin AT sourceware DOT cygnus DOT com References: <45BA125AAE48D311B03D00508B0CA96A9FB7A7 AT itsmail DOT tutsys DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <45BA125AAE48D311B03D00508B0CA96A9FB7A7@itsmail.tutsys.com>; from stv@tutsys.com on Fri, Jun 09, 2000 at 09:32:31AM -0700 On Fri, Jun 09, 2000 at 09:32:31AM -0700, Stephen Iribarne wrote: >I have the latest cygwin. I have a Makefile that I've brought over from my >unix platform to build a product under NT. > >I have a very basic > >PWD := $(shell pwd) > >TOP_DIR := $(PWD) > >My path is: > >Z:\work\myProj\build > >and when I do: > >mkdir $(TOP_DIR)\Obj-myProj-app > >I get the error message: > >mkdir: cannot make directory: 'Z:workmyProjbuild\Obj-myProg-app > >So ($shell pwd) is not adding slashes. Does this mean that my "shell" is >unknown? > >thanks in advance. If your version of pwd is returning a path spec with backslashes in it, then you aren't running the cygwin version. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com