Initial commit.

This commit is contained in:
Sheldon Lee
2022-02-09 11:07:33 +08:00
commit bd0030a0cb
3 changed files with 38 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
NAME = paper
BIB = references
.PHONY: all clean
all: $(NAME).pdf
clean:
find ./ -type f -regex ".*/\($(NAME)\|$(BIB)\).*" ! -regex ".*/\($(NAME).tex\|$(BIB).bib\)" -exec rm '{}' \;
$(NAME).pdf: $(NAME).tex $(BIB).bib
latexmk -pdf -pdflatex="pdflatex -interaction=nonstopmode" $(NAME).tex