From a26a62d50e903376c1fe328c210d09f3f9b03ea6 Mon Sep 17 00:00:00 2001 From: atxy <181850195@smail.nju.edu.cn> Date: Sat, 11 Sep 2021 19:47:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E4=BA=86Makefile?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ce71acb --- /dev/null +++ b/Makefile @@ -0,0 +1,53 @@ +############################################################################### +# +# Makefile for the user manual of njuthesis +# +# Copyright (C) 2013 Haixing Hu, +# Department of Computer Science and Technology, Nanjing University. +# +# Home Page of the Project: https://github.com/Haixing-Hu/nju-thesis +# +############################################################################### + +PROJECT=njuthesis +TEXSOURCE=$(shell ls *.tex) +BIB=njuthesis.bib + +.PHONY: all clean + +all: $(PROJECT).pdf + +$(PROJECT).pdf: $(PROJECT).tex $(BIB) $(TEXSOURCE) + xelatex $(PROJECT).tex + biber $(PROJECT) + xelatex $(PROJECT).tex + xelatex $(PROJECT).tex + +###### clean + +clean: + -@rm -f \ + *.aux \ + *.bak \ + *.bbl \ + *.blg \ + *.dvi \ + *.glo \ + *.gls \ + *.idx \ + *.ilg \ + *.ind \ + *.ist \ + *.log \ + *.out \ + *.ps \ + *.thm \ + *.toc \ + *.lof \ + *.lot \ + *.loe \ + *.sty \ + *.cfg \ + *.cls \ + *.sty \ + *.pdf