At 18:38 2007-01-25, tailuo2002 wrote: >Hi,all > >I found a strange problem. This is my Makefile: > >all: > cd src > ls > >When I run make , I got these error messages: > >cd src >cd: can't cd to src >*** Error code 2 > >But my working directory contains a src directory, and I can cd to src >at the Bash command line.
perhaps you should put a pwd command in there to see where make thinks it is also, even if you do get the cd to work, it won't do what you think, the ls will still show the original directory >My OS is FreeBSD 6.1, Bash shell. > >Thank you. > > > > > > > >To unsubscribe, send a blank message to ><mailto:[EMAIL PROTECTED]>. >Yahoo! Groups Links > > > Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"
