Add dependency to gentable.py

With this commit, a change to gentable.py will trigger
the regeneration of cpp code for each table.
Merge pull request #332 from vmauge/depends_gentable

Add dependency to gentable.py