projects
/
lectures
/
latex.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
96878c9eae49b5fe017657ec86116b67ac0b20e7
[lectures/latex.git]
/
posic
/
talks
/
Makefile
1
# Makefile
2
LATEX = latex
3
DVIPS = dvips -tlandscape
4
PS2PDF = ps2pdf
5
6
SRC := $(shell ls *.tex)
7
PDF = $(SRC:%.tex=%.pdf)
8
9
all: $(PDF)
10
11
%.dvi: %.tex
12
$(LATEX) $< $@
13
$(LATEX) $< $@
14
15
%.ps: %.dvi
16
$(DVIPS) $<
17
18
%.pdf: %.ps
19
$(PS2PDF) $<
20
21
clean:
22
rm -f *.log *.aux