Updated things in makefile to make makefile suitable for an arbitrary project.