Created
July 5, 2016 00:36
-
-
Save xight/8a181cbbc3db33f6e9069b4f7e394c6f to your computer and use it in GitHub Desktop.
Makefile for TeX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FILENAME = FOOBAR | |
TEX = $(FILENAME).tex | |
DVI = $(FILENAME).dvi | |
AUX = $(FILENAME).aux | |
PDF = $(FILENAME).pdf | |
all: | |
make tex | |
make bibtex | |
make tex | |
make tex | |
make dvipdf | |
open $(PDF) | |
clean: | |
rm *.aux *.bbl *.blg *.dvi *.log *.out *.pdf | |
tex: | |
platex $(TEX) | |
bibtex: | |
pbibtex $(AUX) | |
dvipdf: | |
dvipdfmx $(DVI) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment