# An example Makefile to compile a context file # The first rule in a Makefile is the one executed by default ("make"). It should always be the "all" rule, so that "make" and "make all" are identical. all: *.pdf .PRECIOUS: *.pdf *.pdf: *.tex context *.tex view: zathura *.pdf # The .PHONY rule keeps make from processing a file named "watch" or "clean". .PHONY: clean cleanall clean: rm *.aux *.bbl *.blg *.log *.tuc cleanall: rm *.aux *.bbl *.blg *.log *.tuc *.pdf