fix makefile and make it more general
Merge pull request #1 from yodalee/fix-makefile

fix makefile and make it more general