view final_main/Makefile @ 21:a03d74165189

tweak
author menikon
date Sat, 15 Feb 2020 00:01:24 +0900
parents a592714b3c35
children
line wrap: on
line source

TARGET = main

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

#  Suffixes definitions
.SUFFIXES: .tex .dvi .pdf

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

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


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

dvi: $(TARGET).dvi

pdf: $(TARGET).pdf


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