File: makefile

package info (click to toggle)
spooles 2.2-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 18,824 kB
  • ctags: 3,665
  • sloc: ansic: 146,828; csh: 3,615; makefile: 2,045; perl: 70
file content (50 lines) | stat: -rw-r--r-- 1,408 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
include ../../Make.inc
 
#-----------------------------------------------------------------------

LIBS = \
       ../src/ILUMtx.a \
       ../../InpMtx/src/InpMtx.a \
       ../../DenseMtx/src/DenseMtx.a \
       ../../A2/src/A2.a \
       ../../EGraph/src/EGraph.a \
       ../../ETree/src/ETree.a \
       ../../Graph/src/Graph.a \
       ../../Tree/src/Tree.a \
       ../../Coords/src/Coords.a \
       ../../IVL/src/IVL.a \
       ../../IV/src/IV.a \
       ../../DV/src/DV.a \
       ../../ZV/src/ZV.a \
       ../../Utilities/src/Utilities.a \
       ../../Drand/src/Drand.a

DRIVERS = testFactor testSolve
 
libs :
	cd ../src ; make ILUMtx.a
	cd ../../InpMtx/src ; make InpMtx.a
	cd ../../DenseMtx/src ; make DenseMtx.a
	cd ../../A2/src ; make A2.a
	cd ../../EGraph/src ; make EGraph.a
	cd ../../Graph/src ; make Graph.a
	cd ../../ETree/src ; make ETree.a
	cd ../../Tree/src ; make Tree.a
	cd ../../Coords/src ; make Coords.a
	cd ../../IVL/src ; make IVL.a
	cd ../../IV/src ; make IV.a
	cd ../../DV/src ; make DV.a
	cd ../../ZV/src ; make ZV.a
	cd ../../Utilities/src ; make Utilities.a
	cd ../../Drand/src ; make Drand.a

drivers : ${DRIVERS}

clean :
	- rm -f *.a *.o ${DRIVERS}

testFactor : testFactor.o libs ../../spooles.a
	${PURIFY} ${CC} $@.o -o $@ $(PURIFY_GCC_VERSION) ${LIBS} -lm

testSolve : testSolve.o libs ../../spooles.a
	${PURIFY} ${CC} $@.o -o $@ $(PURIFY_GCC_VERSION) ${LIBS} -lm