On May 24, 2011, at 12:39 PM, Helmut Schneider wrote:
> I need 'cd' in my Makefile. It seems that the variable ${CD} is not
> defined and people are using 'cd' instead.
> 
> Is there a certain reason for that?

make isn't the same as a shell; while you can do shell one-liners starting with 
a 'cd' if you have to, they won't have any effect on subsequent Makefile 
statements.  Consider using VPATH to find sources instead.

Regards,
-- 
-Chuck

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to