Skip to content

Instantly share code, notes, and snippets.

@TaurusOlson
Last active August 29, 2015 14:14
Show Gist options
  • Save TaurusOlson/335dc6358b42bdfcc1b4 to your computer and use it in GitHub Desktop.
Save TaurusOlson/335dc6358b42bdfcc1b4 to your computer and use it in GitHub Desktop.
Makefile for Latex
all: myfile.pdf
TMP=$(wildcard *.mtc* *.maf *.log *.aux *.out)
%.pdf: %.tex
@xelatex $<
clean:
@rm -fv $(TMP)
.PHONY: clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment