# medical-robotic -- relatorio LaTeX (Andre Neto + Joao Ferreira) PDF := report.pdf TEX := report.tex SRC := report.tex wsdcr.cls $(wildcard structure/*.tex) .PHONY: all build test test-negative clean distclean all: build ## Compila o relatorio. build: latexmk -pdf -interaction=nonstopmode $(TEX) ## Compila (se preciso) e verifica os factos conhecidos sobre o PDF e o log. test: python3 tests/test_report.py ## Testes negativos: injeta defeitos e confirma que a bateria falha. test-negative: python3 tests/test_report_negative.py ## Compila do zero e corre a bateria completa (build + test + negativas). check: distclean build test test-negative ## Remove apenas os artefactos de compilacao, mantendo o PDF. clean: latexmk -c $(TEX) rm -f $(PDF) ## Remove tudo o que a compilacao gera, incluindo o PDF. distclean: latexmk -C $(TEX) rm -f report.synctex.gz report.out