makefiles: Make sure that dependencies are always updated when regenerating makefiles.