Special Commands

The cd command can be used to change the current directory of the Make program. This command is special; it is handled by the Make program itself, instead of being executed by the shell. After the current directory is changed, all subsequent commands which are executed from within Make will inherit the new current directory, until another cd command is issued. If no argument is given to cd then the original current directory is restored. The original current directory, where the Make program was executed, will be restored before the Make program exits.

Conditional commands are also handled internally by the Make program. Refer to section [*] on the behaviour of conditional commands.