Since we already did everything through Makefiles, what we wanted was a shell script/Make that worked out of the box in all platforms (Windows included). So we wrote ShellJS for Node.js:
https://github.com/arturadib/shelljs
It is now battle-tested in several Mozilla projects (PDF.js, Firefox OS, Butter.js, etc). Check it out, happy to answer questions/comments at @arturadib.