1include ../../Make.inc
2
3#-----------------------------------------------------------------------
4
5LIBS = \
6       ../src/ILUMtx.a \
7       ../../InpMtx/src/InpMtx.a \
8       ../../DenseMtx/src/DenseMtx.a \
9       ../../A2/src/A2.a \
10       ../../EGraph/src/EGraph.a \
11       ../../ETree/src/ETree.a \
12       ../../Graph/src/Graph.a \
13       ../../Tree/src/Tree.a \
14       ../../Coords/src/Coords.a \
15       ../../IVL/src/IVL.a \
16       ../../IV/src/IV.a \
17       ../../DV/src/DV.a \
18       ../../ZV/src/ZV.a \
19       ../../Utilities/src/Utilities.a \
20       ../../Drand/src/Drand.a
21
22DRIVERS = testFactor testSolve
23
24libs :
25	cd ../src ; make ILUMtx.a
26	cd ../../InpMtx/src ; make InpMtx.a
27	cd ../../DenseMtx/src ; make DenseMtx.a
28	cd ../../A2/src ; make A2.a
29	cd ../../EGraph/src ; make EGraph.a
30	cd ../../Graph/src ; make Graph.a
31	cd ../../ETree/src ; make ETree.a
32	cd ../../Tree/src ; make Tree.a
33	cd ../../Coords/src ; make Coords.a
34	cd ../../IVL/src ; make IVL.a
35	cd ../../IV/src ; make IV.a
36	cd ../../DV/src ; make DV.a
37	cd ../../ZV/src ; make ZV.a
38	cd ../../Utilities/src ; make Utilities.a
39	cd ../../Drand/src ; make Drand.a
40
41drivers : ${DRIVERS}
42
43clean :
44	- rm -f *.a *.o ${DRIVERS}
45
46testFactor : testFactor.o libs ../../spooles.a
47	${PURIFY} ${CC} $@.o -o $@ $(PURIFY_GCC_VERSION) ${LIBS} -lm
48
49testSolve : testSolve.o libs ../../spooles.a
50	${PURIFY} ${CC} $@.o -o $@ $(PURIFY_GCC_VERSION) ${LIBS} -lm
51