TYPST := typst SRC := $(filter-out template.typ,$(wildcard *.typ)) PDF := $(SRC:.typ=.pdf) .PHONY: all clean all: $(PDF) %.pdf: %.typ template.typ references.bib $(TYPST) compile $< $@ clean: rm -f $(PDF)