One thing that saves me a lot of time is the pushd/popd commands. These guys let you create a stack of directories and reduce typing a lot:
/foobar/ > pushd /src/whatever/foo/test /foobar/src/whatever/foo/test > make run /foobar/src/whatever/foo/test > popd /foobar/ > make