MYDIR = $(PWD) MYNAME = Numeric2 TEX_SOURCES = main.tex abstract.tex notations.tex \ introduction.tex constant.tex lines.tex \ euler.tex bad.tex alpha.tex stats.tex \ results.tex makecubictable.sty \ R2L1.curve R2L2.curve R2L3.curve \ R3L1.curve R3L2.curve R3L4.curve \ R3L5.curve R4L1.curve \ R2L1.table R2L2.table R2L3.table \ R3L1.table R3L2.table R3L4.table \ R3L5.table R4L1.table default all: main.ps makecubictable.sty makecubictable.tex: makecubictable.dtx makecubictable.ins tex makecubictable.ins makecubictable.dvi: makecubictable.tex latex makecubictable; \ latex makecubictable main.aux: $(TEX_SOURCES) latex main.tex main.bbl: main.aux general.bib bibtex main main.dvi: main.aux main.bbl latex main.tex;\ latex main.tex main.ps: main.dvi dvips -o main.ps main Numeric2.tex : $(TEX_SOURCES) uniontex main.tex Numeric2.tex Numeric2.dvi : Numeric2.tex latex Numeric2;\ latex Numeric2;\ latex Numeric2 clean: find . \( -name "*".log \ -o -name "*"~ -o -name main.ps \ -o -name "Numeric2*" \ -o -name makecubictable.tex \ -o -name makecubictable.dvi \ -o -name makecubictable.aux \ -o -name makecubictable.idx \ -o -name makecubictable.toc \ -o -name makecubictable.glo \) -exec rm {} \; archive: all clean cd ..;\ tar czf $(MYNAME).tar.gz --exclude CVS `basename $(MYDIR)`;\ cd $(MYDIR)