From 3386fa3c0c552294ebc25fbffa7a5ce41d563004 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Tue, 7 Sep 2021 20:59:21 +0200 Subject: First commit --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6346d18 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +TEX := xelatex +TEXARGS := --output-directory=build --halt-on-error + +DOCNAME := WrStat +SOURCES := $(DOCNAME).tex + +include tex/Makefile.inc + +.PHONY: clean +all: build/$(DOCNAME).pdf + +clean: + @rm -rfv build + +build/$(DOCNAME).pdf : $(SOURCES) + mkdir -p build + $(TEX) $(TEXARGS) $< + $(TEX) $(TEXARGS) $< + -- cgit v1.2.1