diff Makefile @ 7:8ef81ff8cb52

emended.
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 12 Feb 2010 13:10:57 +0900
parents b59d31966d7d
children
line wrap: on
line diff
--- a/Makefile	Mon Feb 08 03:50:27 2010 +0900
+++ b/Makefile	Fri Feb 12 13:10:57 2010 +0900
@@ -12,24 +12,27 @@
 PS_SUFFIX=.ps
 PDF_SUFFIX=.pdf
 
-.SUFFIXES: .tex .dvi .pdf
+.SUFFIXES: .tex .dvi .pdf .toc
 
 default: $(TARGET).pdf
 
 
 .dvi.pdf:
-	$(DVI2PDF) $(DVIPDF_OPT) $^
+	$(DVI2PDF) $(DVI2PDF_OPT) $^
 
 .tex.dvi:
-	$(LATEX) $^
+	$(LATEX) $< 
 
 bib: dvi
 	@echo "========== MAKE Bib file ($(MAIN_TARGET).dvi) =========="
 	$(BIBTEX) $(MAIN_TARGET)
 
+
+$(TARGET).dvi: abstract.tex introduction.tex cbc.tex gcc.tex implementation.tex evaluations.tex conclusion.tex thanx.tex bibliography.tex presentations.tex appendix.tex
+
 clean:
-	@echo "remove $(TARGET)*{aux,log,toc,lof,lot,blg,bbl,ilg,idx,ind,dvi,ps,pdf,out}"
-	$(RM) $(TARGET)*{aux,log,toc,lof,lot,blg,bbl,ilg,idx,ind,dvi,ps,pdf,out}
+	@echo "remove $(TARGET).{aux,log,toc,lof,lot,blg,bbl,ilg,idx,ind,dvi,ps,pdf,out}"
+	$(RM) $(TARGET).{aux,log,toc,lof,lot,blg,bbl,ilg,idx,ind,dvi,ps,pdf,out}
 
 veryclean: clean
 	find ./ -name \*~  -exec rm -f {} \;