updated Makefiles and docs