makefiles: Generate the tools dependencies from makedep.