view Paper/Makefile @ 0:466b958a3419

init
author k228587
date Tue, 04 Apr 2023 18:46:21 +0900
parents
children
line wrap: on
line source

TARGET = paper

LATEX   = platex
BIBTEX  = pbibtex
#DVIPS   = dvips
#DVIPDFM = dvipdfmx
RM      = rm -f
DVIPDF=dvipdfmx -p a4
#  Option definitions
#DVIPDFMOPT = 
#DVIPSOPT   = -D 720 -mode esphi -O 0mm,0mm -N0 

.PHONY: all pdf dvi clean

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

$(TARGET).pdf: dvi pdf

dvi: $(TARGET).tex
	$(LATEX) $<
	$(BIBTEX) $(TARGET)
	$(LATEX) $<
	$(LATEX) $<

pdf: $(TARGET).dvi
	$(DVIPDF) $(DVIPDF_OPT) $(TARGET).dvi

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