Auto generate an external file with all the dependencies.