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)
 