Converted build.sh into a Makefile.
Cleaned up the Makefile