diff --git a/Makefile b/Makefile index 45ebe11..f5a01dd 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ BASENAME = relatorioR4 -all: $(BASENAME) +all: $(BASENAME).pdf + evince $< & -$(BASENAME): - pandoc --standalone --from markdown --to latex --output $(BASENAME).pdf $(BASENAME).md $< - evince $(BASENAME).pdf & +$(BASENAME).pdf: $(BASENAME).md + pandoc --standalone --from markdown --to latex --output $@ $< clean: - rm -f $(BASENAME)*.pdf + rm -f $(BASENAME).pdf -- libgit2 0.21.2