Updated makefile to ease environment setup.
Fixing issues with sum table.