some small tweaks to setup, no code changes.

use relative path for paths.mk
add some more ignored files using regex to .gitignore
fix generate_deps to work on a mac