updated Makefile for dependency