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