From 5e4ad2777acc4c2420514e39fb98b7cf2e200996 Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Sun, 27 Apr 2025 17:36:57 -0400 Subject: Initial commit --- Makefile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9e91350 --- /dev/null +++ b/Makefile @@ -0,0 +1,32 @@ +TEXFLAGS = -output-directory=build + +export TEXINPUTS:=.:./cls:${TEXINPUTS} +export BSTINPUTS:=.:./cls:${BSTINPUTS} + +.PHONY: all +all: paper + +.PHONY: build +build: + -mkdir build + -mkdir draft + -mkdir img + +.PHONY: plots +plots: build + for f in plot/*; do \ + gnuplot "$$f"; \ + done; + +.PHONY: paper +paper: build paper.tex + pdflatex $(TEXFLAGS) paper.tex + bibtex build/paper.aux + pdflatex $(TEXFLAGS) paper.tex + pdflatex $(TEXFLAGS) paper.tex + mv build/paper.pdf draft/dissertation.pdf + +clean: + rm -rf build + rm -rf draft + -- cgit v1.2.3