FindMakefile is a project mainly written in Vim Script, it's free.
Change directory to one containing a Makefile
This is a mirror of http://www.vim.org/scripts/script.php?script_id=799
Change directory to the directory containing the current file and then repeatedly "cd .." until ./Makefile exists.
You run it by enterning :call FindMakefile()
I've mapped