modified makefile to deal with temporary files from LaTeX compilation