This commit is contained in:
ltadeu6 2026-04-06 18:40:13 -03:00
parent eebe8257aa
commit 75203d0791
No known key found for this signature in database
GPG key ID: FB9FDAB6B6F3418D
7 changed files with 108 additions and 67 deletions

21
Makefile Normal file
View file

@ -0,0 +1,21 @@
TEXS := $(wildcard *.tex)
PDFS := $(TEXS:.tex=.pdf)
LATEX ?= latexmk -pdf -interaction=nonstopmode -halt-on-error
OPEN ?= xdg-open
.PHONY: all build open clean clear
all: build clean open
build: $(PDFS)
%.pdf: %.tex
$(LATEX) $<
open: $(PDFS)
@for f in $(PDFS); do $(OPEN) "$$f"; done
clean clear:
@rm -f *.aux *.log *.out *.toc *.synctex.gz *.fls *.fdb_latexmk \
*.bbl *.blg *.nav *.snm *.vrb *.dvi *.xdv *.lot *.lof