makefiles: Generate makefile dependencies from makedep.