Update Makefile
This commit is contained in:
parent
85584d73a3
commit
04b0bfb625
14
Makefile
14
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:
|
clean:
|
||||||
rm -f *.aux *.log *.pdf
|
rm -f *.aux *.log *.pdf
|
||||||
|
Loading…
Reference in New Issue
Block a user