view Paper/Makefile @ 1:431ee6c8128f

update
author mir3636
date Sat, 01 Dec 2018 18:54:09 +0900 (2018-12-01)
parents dbbe5ef644fb
children
line wrap: on
line source
# target name
TARGET=main

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

$(TARGET).dvi : $(wildcard **/*.tex) $(TARGET).tex
	platex $(TARGET).tex
	pbibtex $(TARGET)
	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

it:
	open /Users/mitsuki/Music/iTunes/iTunes\ Media/Music/i☆Ris/Make\ It\!\ -\ Single/01\ Make\ It\!.m4a