make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: current directory


From: Eli Zaretskii
Subject: Re: current directory
Date: Thu, 13 Dec 2007 22:25:16 +0200

> Date: Thu, 13 Dec 2007 19:18:06 +0100
> From: "address@hidden" <address@hidden>
> CC:  address@hidden
> 
> I tested this Makefile :
> 
> all:
>       @echo $(shell cd)
>       @echo $(CURDIR)
> 
> And it returns :
> 
> C:\
> C:/home/testMakeWin

Then something is wrong with your shell, or with the cd command, or
maybe you have your shell set up to go to the root directory.  Since
$(CURDIR), computed by Make on startup, shows the correct directory,
I'd say Make is working correctly, starting in the directory where you
invoked it, while $(shell cd) somehow messes things up.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]