MODE ?= main .PHONY: all clean all: main.pdf main.pdf: figures/timing-1.pdf figures/timing-2.pdf figures/%.pdf: figures/%.tex latexmk -pdf -shell-escape $< cp $(notdir $@) $@ || true # silent structure,structures,pages,resolvers,open source,close source,loading,modules %.pdf: %.tex context --mode=$(MODE) --nonstopmode --silent='*' $< cp $(notdir $@) $@ || true