view Makefile @ 3:fa335025f1d7

Add texfile from template
author Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
date Fri, 17 Apr 2015 12:32:20 +0900
parents 7275328d2637
children e1f4ace7c818
line wrap: on
line source

# target name
TARGET=cfopm

# 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