16 lines
227 B
Makefile
16 lines
227 B
Makefile
SUBJECTS := matan angem diskra algo
|
|
PDFS := $(addsuffix .pdf, $(SUBJECTS))
|
|
|
|
.PHONY: all clean watch-%
|
|
|
|
all: $(PDFS)
|
|
|
|
%.pdf: %.typ template.typ
|
|
typst compile $< $@
|
|
|
|
watch-%: %.typ
|
|
typst watch $< $*.pdf
|
|
|
|
clean:
|
|
rm -f $(PDFS)
|
|
|