Chuck Swiger cswiger at mac.com
Tue May 24 20:49:11 UTC 2011

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.


More information about the freebsd-ports mailing list