abstract compile stuff into Makefile
Merge pull request #2 from ralphtheninja/master

abstract compile stuff into Makefile