get a make target and rule from a dependent file.