A Makefile for building the projects

Ref #92, it still has problems with the -j flag. Recommended to keep using `build.sh`