comparison Makefile @ 0:bda9b7082ab4

add file
author Yutaka_Kinjyo
date Sat, 14 Aug 2010 18:50:22 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:bda9b7082ab4
1 DOC = jssst
2
3 LATEX = platex
4 DVIPS = dvips
5 DVIPDFM = dvipdfmx
6 RM = rm
7
8 # Option definitions
9 DVIPDFMOPT =
10 DVIPSOPT =
11
12 # Suffixes definitions
13 .SUFFIXES: .tex .dvi .ps .pdf
14
15 # Recipes
16 .tex.dvi:
17 $(LATEX) $<
18 $(LATEX) $<
19
20 .dvi.pdf:
21 $(DVIPDFM) -o $@ $<
22
23 .dvi.ps:
24 $(DVIPS) $(DVIPSOPT) -o $@ $<
25
26
27 all: $(DOC).pdf# $(DOC).ps
28 open $(DOC).pdf
29
30 dvi: $(DOC).dvi
31
32 pdf: $(DOC).pdf
33
34 ps: $(DOC).ps
35
36 clean:
37 $(RM) -f *.dvi *.aux *.log *.pdf *.ps *.gz *~ *.core