everything:   tmt.exe example.exe nl_ex.exe sl_ex.exe garch.exe test_exc.exe

.cpp.obj:
	      wpp386/bt=nt  $*.cpp

OBJ_LIB = bandmat.obj cholesky.obj evalue.obj fft.obj hholder.obj     &
  jacobi.obj myexcept.obj newmat1.obj newmat2.obj newmat3.obj         &
  newmat4.obj newmat5.obj newmat6.obj newmat7.obj newmat8.obj         &
  newmat9.obj newmatex.obj newmatnl.obj newmatrm.obj solution.obj     &
  sort.obj submat.obj svd.obj newfft.obj

OBJ_T = tmt.obj tmt1.obj tmt2.obj tmt3.obj tmt4.obj tmt5.obj tmt6.obj      &
  tmt7.obj tmt8.obj tmt9.obj tmta.obj tmtb.obj tmtc.obj tmtd.obj tmte.obj  &
  tmtf.obj tmtg.obj tmth.obj tmti.obj tmtj.obj tmtk.obj tmtl.obj

tmt.exe:    	$(OBJ_T) $(OBJ_LIB)
	        echo file newmat1.obj,newmat2.obj,newmat3.obj     > link.lnk
	        echo file newmat4.obj,svd.obj,newmat5.obj        >> link.lnk
	        echo file newmat6.obj,newmat7.obj,newmat8.obj    >> link.lnk
	        echo file tmt.obj,tmt1.obj,tmt2.obj,tmt3.obj     >> link.lnk
	        echo file tmt4.obj,tmt5.obj,tmt6.obj,tmt7.obj    >> link.lnk
	        echo file tmt8.obj,tmt9.obj,tmta.obj,tmti.obj    >> link.lnk
	        echo file tmtb.obj,tmtc.obj,tmtd.obj,tmte.obj    >> link.lnk
	        echo file tmtf.obj,tmtg.obj,tmth.obj,tmtj.obj    >> link.lnk
	        echo file tmtk.obj,tmtl.obj                      >> link.lnk
	        echo file cholesky.obj,hholder.obj,sort.obj      >> link.lnk
	        echo file submat.obj,jacobi.obj,newmatrm.obj     >> link.lnk
	        echo file fft.obj,evalue.obj,bandmat.obj         >> link.lnk
	        echo file newmatex.obj,myexcept.obj,newfft.obj   >> link.lnk
	        echo name tmt.exe                                >> link.lnk
		echo SYSTEM nt                                   >> link.lnk
	        wlink @link.lnk

OBJ_E = example.obj

example.exe:    $(OBJ_E) $(OBJ_LIB)
	        echo file newmat1.obj,newmat2.obj,newmat3.obj     > link.lnk
	        echo file newmat4.obj,svd.obj,newmat5.obj        >> link.lnk
	        echo file newmat6.obj,newmat7.obj,newmat8.obj    >> link.lnk
	        echo file cholesky.obj,hholder.obj,sort.obj      >> link.lnk
	        echo file submat.obj,jacobi.obj,newmatrm.obj     >> link.lnk
	        echo file fft.obj,evalue.obj,bandmat.obj         >> link.lnk
	        echo file newmatex.obj,myexcept.obj,example.obj  >> link.lnk
	        echo file newmat9.obj,newfft.obj                 >> link.lnk
	        echo name example.exe                            >> link.lnk
		echo SYSTEM nt                                   >> link.lnk
	        wlink @link.lnk

OBJ_N = nl_ex.obj

nl_ex.exe:    	$(OBJ_N) $(OBJ_LIB)
	        echo file newmat1.obj,newmat2.obj,newmat3.obj     > link.lnk
	        echo file newmat4.obj,svd.obj,newmat5.obj        >> link.lnk
	        echo file newmat6.obj,newmat7.obj,newmat8.obj    >> link.lnk
	        echo file nl_ex.obj,newmatnl.obj,newmat9.obj     >> link.lnk
	        echo file cholesky.obj,hholder.obj,sort.obj      >> link.lnk
	        echo file submat.obj,jacobi.obj,newmatrm.obj     >> link.lnk
	        echo file fft.obj,evalue.obj,bandmat.obj         >> link.lnk
	        echo file newmatex.obj,myexcept.obj,newfft.obj   >> link.lnk
	        echo name nl_ex.exe                              >> link.lnk
		echo SYSTEM nt                                   >> link.lnk
	        wlink @link.lnk

OBJ_S = sl_ex.obj

sl_ex.exe:    	$(OBJ_S) $(OBJ_LIB)
	        echo file sl_ex.obj,myexcept.obj,solution.obj     > link.lnk
	        echo name sl_ex.exe                              >> link.lnk
		echo SYSTEM nt                                   >> link.lnk
	        wlink @link.lnk

OBJ_G = garch.obj

garch.exe:      $(OBJ_G) $(OBJ_LIB)
	        echo file newmat1.obj,newmat2.obj,newmat3.obj     > link.lnk
	        echo file newmat4.obj,svd.obj,newmat5.obj        >> link.lnk
	        echo file newmat6.obj,newmat7.obj,newmat8.obj    >> link.lnk
	        echo file garch.obj,newmatnl.obj,newmat9.obj     >> link.lnk
	        echo file cholesky.obj,hholder.obj,sort.obj      >> link.lnk
	        echo file submat.obj,jacobi.obj,newmatrm.obj     >> link.lnk
	        echo file fft.obj,evalue.obj,bandmat.obj         >> link.lnk
	        echo file newmatex.obj,myexcept.obj,newfft.obj   >> link.lnk
	        echo name garch.exe                              >> link.lnk
		echo SYSTEM nt                                   >> link.lnk
	        wlink @link.lnk

OBJ_X = test_exc.obj

test_exc.exe:   $(OBJ_X) $(OBJ_LIB)
	        echo file newmat1.obj,newmat2.obj,newmat3.obj     > link.lnk
	        echo file newmat4.obj,svd.obj,newmat5.obj        >> link.lnk
	        echo file newmat6.obj,newmat7.obj,newmat8.obj    >> link.lnk
	        echo file test_exc.obj,newmatnl.obj,newmat9.obj  >> link.lnk
	        echo file cholesky.obj,hholder.obj,sort.obj      >> link.lnk
	        echo file submat.obj,jacobi.obj,newmatrm.obj     >> link.lnk
	        echo file fft.obj,evalue.obj,bandmat.obj         >> link.lnk
	        echo file newmatex.obj,myexcept.obj,newfft.obj   >> link.lnk
	        echo name test_exc.exe                           >> link.lnk
		echo SYSTEM nt                                   >> link.lnk
	        wlink @link.lnk

newmatxx = include.h newmat.h boolean.h myexcept.h

myexcept.obj:   include.h boolean.h myexcept.h myexcept.cpp

newmatex.obj:   $(newmatxx) newmatex.cpp

newmatnl.obj:   $(newmatxx) newmatnl.h newmatap.h

example.obj:    $(newmatxx) newmatap.h example.cpp

cholesky.obj:   $(newmatxx) cholesky.cpp

evalue.obj:     $(newmatxx) newmatrm.h precisio.h evalue.cpp

fft.obj:        $(newmatxx) newmatap.h fft.cpp

newfft.obj:     $(newmatxx) newmatap.h newfft.cpp

hholder.obj:    $(newmatxx) newmatap.h hholder.cpp

jacobi.obj:     $(newmatxx) precisio.h newmatrm.h jacobi.cpp

bandmat.obj:    $(newmatxx) newmatrc.h controlw.h bandmat.cpp

newmat1.obj:    $(newmatxx) newmat1.cpp

newmat2.obj:    $(newmatxx) newmatrc.h controlw.h newmat2.cpp

newmat3.obj:    $(newmatxx) newmatrc.h controlw.h newmat3.cpp

newmat4.obj:    $(newmatxx) newmatrc.h controlw.h newmat4.cpp

newmat5.obj:    $(newmatxx) newmatrc.h controlw.h newmat5.cpp

newmat6.obj:    $(newmatxx) newmatrc.h controlw.h newmat6.cpp

newmat7.obj:    $(newmatxx) newmatrc.h controlw.h newmat7.cpp

newmat8.obj:    $(newmatxx) newmatap.h newmat8.cpp

newmat9.obj:    $(newmatxx) newmatrc.h controlw.h newmatio.h newmat9.cpp

newmatrm.obj:   $(newmatxx) newmatrm.h newmatrm.cpp

sort.obj:       $(newmatxx) newmatap.h sort.cpp

submat.obj:     $(newmatxx) newmatrc.h controlw.h submat.cpp

svd.obj:        $(newmatxx) newmatrm.h precisio.h svd.cpp

tmt.obj:        $(newmatxx) newmatap.h tmt.cpp 

tmt1.obj:       $(newmatxx) newmatap.h tmt1.cpp 

tmt2.obj:       $(newmatxx) newmatap.h tmt2.cpp 

tmt3.obj:       $(newmatxx) newmatap.h tmt3.cpp 

tmt4.obj:       $(newmatxx) newmatap.h tmt4.cpp 

tmt5.obj:       $(newmatxx) newmatap.h tmt5.cpp 

tmt6.obj:       $(newmatxx) newmatap.h tmt6.cpp 

tmt7.obj:       $(newmatxx) newmatap.h tmt7.cpp 

tmt8.obj:       $(newmatxx) newmatap.h tmt8.cpp 

tmt9.obj:       $(newmatxx) newmatap.h tmt9.cpp 

tmta.obj:       $(newmatxx) newmatap.h tmta.cpp 

tmtb.obj:       $(newmatxx) newmatap.h tmtb.cpp 

tmtc.obj:       $(newmatxx) newmatap.h tmtc.cpp 

tmtd.obj:       $(newmatxx) newmatap.h tmtd.cpp 

tmte.obj:       $(newmatxx) newmatap.h tmte.cpp 

tmtf.obj:       $(newmatxx) newmatap.h tmtf.cpp 

tmtg.obj:       $(newmatxx) newmatap.h tmtg.cpp 

tmth.obj:       $(newmatxx) newmatap.h tmth.cpp

tmti.obj:       $(newmatxx) newmatap.h tmti.cpp

tmtj.obj:       $(newmatxx) newmatap.h tmtj.cpp

tmtk.obj:       $(newmatxx) newmatap.h tmtk.cpp

tmtl.obj:       $(newmatxx) newmatap.h tmtl.cpp

nl_ex.obj:      $(newmatxx) newmatap.h newmatnl.h nl_ex.cpp

sl_ex.obj:      include.h boolean.h myexcept.h sl_ex.cpp

solution.obj:   include.h boolean.h myexcept.h solution.cpp

garch.obj:      $(newmatxx) newmatap.h newmatnl.h garch.cpp

test_exc.obj:   $(newmatxx) test_exc.cpp

