comparison Makefile @ 1:cc02718aa4be

add Makefile and remove pdf
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Sun, 03 Nov 2013 22:31:18 +0900
parents
children
comparison
equal deleted inserted replaced
0:8bf606ea2dba 1:cc02718aa4be
1 TARGET=2013_mid
2 TEX=platex
3 DVIPDF=dvipdfmx
4
5 .SUFFIXES: .tex .dvi .pdf
6
7 all: $(TARGET).pdf
8 open $(TARGET).pdf
9
10 $(TARGET).dvi: $(TARGET).tex
11
12 $(TARGET).pdf: $(TARGET).dvi
13
14 .tex.dvi:
15 $(TEX) $<
16 $(TEX) $<
17
18 .dvi.pdf:
19 $(DVIPDF) $<
20
21 clean:
22 rm -f $(TARGET).dvi $(TARGET).aux $(TARGET).log
23 rm -f $(TARGET).pdf *~
24