From 04b0bfb6258f3a9aa3898678521db409ebac6c94 Mon Sep 17 00:00:00 2001 From: augustin64 Date: Sat, 30 Nov 2024 10:26:25 +0100 Subject: [PATCH] Update Makefile --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Makefile b/Makefile index 578ea82..64de9f1 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,16 @@ +TYP_SRC := $(wildcard DM*.typ) +TEX_SRC := $(wildcard DM*.tex) + + +all: all-typ $(TEX_SRC:%.tex=%.pdf) +all-typ: $(TYP_SRC:%.typ=%.typ.pdf) + +%.typ.pdf: %.typ + typst compile $^ $@ + + +%.pdf: %.tex + pdflatex -shell-escape -interaction=nonstopmode $^ + clean: rm -f *.aux *.log *.pdf