[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: current directory
From: |
Greg Chicares |
Subject: |
Re: current directory |
Date: |
Thu, 13 Dec 2007 19:09:27 +0000 |
User-agent: |
Thunderbird 2.0.0.9 (Windows/20071031) |
On 2007-12-13 18:18Z, address@hidden wrote:
> I tested this Makefile :
>
> all:
> @echo $(shell cd)
> @echo $(CURDIR)
>
> And it returns :
>
> C:\
> C:/home/testMakeWin
What shell are you using? IIRC, 'cd' with no parameters in
CMD.EXE queries the present working directory, like 'pwd'
in a unix shell, while 'cd' with no parameters in a unix
shell changes to the home directory.
What does 'make --version' report?