Re: current directory

Greg Chicares <[email protected]>
Newsgroups gmane.comp.gnu.make.windows
Message-ID <[email protected]>
On 2007-12-13 18:18Z, [email protected] 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?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.