add dependency managment to Makefile