Makefiles updated to exit if an error occurs in a sub-directory make