Updated Makefile to check proper files.