ex7, modified Makefile