Added Makefile and created dependencies.
Modified makefile.