diff midterm/Makefile @ 0:f6cf611984d2

first commit
author Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
date Wed, 16 Nov 2011 17:37:58 +0900
parents
children a4d96573532b
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/midterm/Makefile	Wed Nov 16 17:37:58 2011 +0900
@@ -0,0 +1,30 @@
+# Created by Daichi Toma on Nov 16, 2011
+
+TARGET=midterm
+
+LATEX=platex
+DVIPDF=dvipdfmx
+#You need setting "-l" option if You think You get a landscape PDF
+#DVIPDF_OPT=-l
+
+.SUFFIXES: .tex .dvi .pdf
+
+.tex.dvi:
+	$(LATEX) $<
+	$(LATEX) $<
+
+.dvi.pdf:
+	$(DVIPDF) $(DVIPDF_OPT) $<
+
+
+all: $(TARGET).pdf
+	open $(TARGET).pdf
+
+dvi: $(TARGET).dvi
+
+pdf: $(TARGET).pdf
+
+
+clean:
+	rm -f *.dvi *.aux *.log *.pdf *.ps *.gz *~ *.core
+