modified Makefile to use implicit rules