Add makefile to manage dependencies and compilation.