updated makefile to work with cd chapter