Created
June 7, 2021 02:57
-
-
Save kiyotune/842b6650cfa4cfe33183bbaa8c81c826 to your computer and use it in GitHub Desktop.
Converter from TeX to PDF
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
SRC := $(wildcard *.tex) | |
PDF := $(SRC:.tex=.pdf) | |
DVI := $(SRC:.tex=.dvi) | |
LOG := $(SRC:.tex=.log) | |
AUX := $(SRC:.tex=.aux) | |
all: ${PDF} | |
%.dvi: %.tex | |
platex $< | |
%.pdf: %.dvi | |
dvipdfmx $< | |
debug: | |
@echo ${SRC} | |
@echo ${DVI} | |
@echo ${PDF} | |
clean: | |
rm -f ${DVI} ${PDF} ${LOG} ${AUX} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment