Re: current directory

Eli Zaretskii <[email protected]>
Newsgroups gmane.comp.gnu.make.windows
Message-ID <[email protected]>
> Date: Wed, 12 Dec 2007 22:22:11 +0100
> From: fabien <[email protected]>
> 
> There is something about GNU make that I don't understand, I think it's 
> a bug :
> on 2 Windows XP computers, with the same makefile, one executes commands 
> ( i.e. "$(shell cd)" ) from the current directory and, strangely, the 
> other one always executes from C:\
> (with the same version of GNU make 3.81)

Does this happen even with a makefile that has only one rule, the one
that shows the current directory?  Like this:

all:
	echo "$(shell cd)"

Also, what happens if you use $(CURDIR) instead of $(shell cd)?
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.