This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Running $(shell pwd) in makefile.
- To: cygwin at sourceware dot cygnus dot com
- Subject: Re: Running $(shell pwd) in makefile.
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Fri, 9 Jun 2000 12:43:25 -0400
- References: <45BA125AAE48D311B03D00508B0CA96A9FB7A7@itsmail.tutsys.com>
- Reply-To: cygwin at sourceware dot cygnus dot com
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@sourceware.cygnus.com