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?