# [Tex/LaTex] Having pdflatex clean up after itself in WinEdt

auxiliary-filescleanupwinedt

How do I get pdflatex (via WinEdt) to remove all the extra output files (e.g., .lof, .blg, etc.) after compiling my .tex/.bib/.etc to a .pdf?

If there is a solution, I suspect it will come via "Options" -> "Execution Mode". I'm just not finding anything though 🙁

I was told by someone that pdflatex won't do this and that I would need to create a Makefile. Is that true?

If you are using miktex, then you can run texify with the -c option to automate running pdflatex sufficiently many times, and bibtex etc and then remove the aux files. In miktex you can access this by going to "Execution Modes...", choosing "PDFTeXify" and adding -c to the "Switches" box.