Added deps resolution to Makefile.