fix makefile to include dependencies