Commit 001cecbab255bea2a3a3cf5616b7037480aa64da
1 parent
54547d47
Exists in
master
arrumando depenencias no Makefile
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
Makefile
| 1 | BASENAME = relatorioR4 | 1 | BASENAME = relatorioR4 |
| 2 | 2 | ||
| 3 | -all: $(BASENAME) | 3 | +all: $(BASENAME).pdf |
| 4 | + evince $< & | ||
| 4 | 5 | ||
| 5 | -$(BASENAME): | ||
| 6 | - pandoc --standalone --from markdown --to latex --output $(BASENAME).pdf $(BASENAME).md $< | ||
| 7 | - evince $(BASENAME).pdf & | 6 | +$(BASENAME).pdf: $(BASENAME).md |
| 7 | + pandoc --standalone --from markdown --to latex --output $@ $< | ||
| 8 | 8 | ||
| 9 | clean: | 9 | clean: |
| 10 | - rm -f $(BASENAME)*.pdf | 10 | + rm -f $(BASENAME).pdf |