make often invokes commands in separate system calls.
This means that commands based on cd, push, or popd are unlikely to correctly persist the working directory across successive commands, or across separate rules.
Also, the specific commands pushd and popd are GNU bash extensions to the POSIX sh interpreter, likely to fail on many platforms.
make often invokes commands in separate system calls.
This means that commands based on
cd
,push
, orpopd
are unlikely to correctly persist the working directory across successive commands, or across separate rules.Also, the specific commands
pushd
andpopd
are GNU bash extensions to the POSIX sh interpreter, likely to fail on many platforms.