Modified Makefiles for the example codes.