This is the mail archive of the cygwin@sourceware.cygnus.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]

Running $(shell pwd) in makefile.


Title: Running $(shell pwd) in makefile.

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.

-stv

/*
Steve Iribarne                         
Sr. Software Engineer                          
Tut Systems, Inc.
http://www.tutsys.com
*/


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