Src=crosswithin all : tex bib tex tex done one : tex done done : @printf "\n\n\n==============================================\n" @printf "see output in ./$(Src).pdf\n" @printf "==============================================\n\n\n" @printf "\n\nWarnings (may be none):\n\n" grep arning ./${Src}.log tex : - pdflatex -output-directory=./ $(Src) bib : - bibtex ./$(Src)