view Makefile @ 3:11a86cf869e2

Wrote introduction
author Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
date Tue, 24 Feb 2015 15:54:22 +0900
parents 32308ce01324
children
line wrap: on
line source

# target name
TARGET=delta

# dependencies
$(TARGET).pdf : $(TARGET).dvi
	dvipdfmx $<

$(TARGET).dvi : $(wildcard **/*.tex) $(TARGET).tex
	platex $(TARGET).tex
	platex $(TARGET).tex
	platex $(TARGET).tex


# commands
.PHONY : clean all open remake

clean:
	rm -f *.dvi *.aux *.log *.pdf *.ps *.gz *.bbl *.blg *.toc *~ *.core *.cpt

all: $(TARGET).pdf

open: $(TARGET).pdf
	open $(TARGET).pdf

remake:
	make clean
	make all