view Makefile @ 11:ee63be7dddb4 default tip

Added tag wordpress_submit for changeset 83777243f572
author Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
date Wed, 29 Oct 2014 16:54:24 +0900
parents 95a86a261203
children
line wrap: on
line source

# target name
TARGET=bachelor_middle_draft

# 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

all: $(TARGET).pdf

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

remake:
	make clean
	make all