Updated Makefile with dependencies.