Add Makefile rules for fetching dependencies.