Fix Makefile, add gen/.gitignore.
Merge with rurban