delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/09/12:38:01

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <45BA125AAE48D311B03D00508B0CA96A9FB7A7@itsmail.tutsys.com>
From: Stephen Iribarne <stv AT tutsys DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Running $(shell pwd) in makefile.
Date: Fri, 9 Jun 2000 09:32:31 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

------_=_NextPart_001_01BFD230.4F2D1622
Content-Type: text/plain

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
*/


------_=_NextPart_001_01BFD230.4F2D1622
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>Running $(shell pwd) in makefile.</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">I have the latest cygwin.&nbsp; I have =
a Makefile that I've brought over from my unix platform to build a =
product under NT.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I have a very basic </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">PWD :=3D $(shell pwd)</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">TOP_DIR :=3D $(PWD)</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">My path is:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Z:\work\myProj\build</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">and when I do:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">mkdir $(TOP_DIR)\Obj-myProj-app</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I get the error message:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">mkdir:&nbsp; cannot make =
directory:&nbsp; 'Z:workmyProjbuild\Obj-myProg-app</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">So ($shell pwd) is not adding =
slashes.&nbsp; Does this mean that my &quot;shell&quot; is =
unknown?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">thanks in advance.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">-stv </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Tahoma">/*</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">Steve =
Iribarne&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">Sr. Software =
Engineer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">Tut Systems, Inc.</FONT>
<BR><U><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Tahoma"><A =
HREF=3D"http://www.tutsys.com" =
TARGET=3D"_blank">http://www.tutsys.com</A></FONT></U>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">*/</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01BFD230.4F2D1622--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019