Notebook-000.jpg: Notebook.pdf makefile pdfimages -j Notebook.pdf Notebook for f in Notebook-???.jpg; do convert $$f -rotate 270 -normalize $$f; done