.PHONY: resume.pdf CC = xelatex RESUME_DIR = . RESUME_SRCS = $(shell find $(RESUME_DIR) -name '*.tex') resume.pdf: resume.tex $(RESUME_SRCS) $(CC) -interaction=batchmode -output-directory=. $< clean: rm -rf *.aux *.log *.pdf *.tex