update Makefile and remove warning
add chapter23 method 2