makefiles: Look in the extra targets for dependencies.