3d-interface-rapport/rapport/Makefile

20 lines
424 B
Makefile

TEXC = latexmk -lualatex -output-directory=build
.PHONY: FORCE
build/main.pdf: main.tex FORCE
$(TEXC) -latexoption=-shell-escape $<
compress: build/main.pdf
cp build/main.pdf build/main.tmp.pdf
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=build/main.pdf build/main.tmp.pdf
rm build/main.tmp.pdf
all: build/main.pdf
clean: FORCE
$(TEXC) -c
clean_all: FORCE
$(RM) -fr build