TYPST = typst compile --font-path ./

.PHONY: all clean cleanall

all: CDT.pdf Semaine12.pdf TP05.pdf TP18.pdf Notes-DS-random.pdf

CDT.pdf: CDT.typ hoche.typ hoche-cdt.typ 
	$(TYPST) "$<"

Semaine12.pdf: Semaine12.typ hoche.typ hoche-colle.typ
	$(TYPST) "$<"

TP05.pdf: TP05.typ hoche.typ hoche-TP.typ Pastie.tmTheme
	$(TYPST) "$<"

TP18.pdf: TP18.typ hoche.typ hoche-TP.typ Pastie.tmTheme
	$(TYPST) "$<"

Notes-DS-random.pdf: Notes-DS-random.typ Notes-DS-random.csv hoche.typ hoche-notes.typ
	$(TYPST) "$<"

clean:

cleanall: clean
	rm -f CDT.pdf Semaine12.pdf TP05.pdf TP18.pdf Notes-DS-random.pdf
