File: Makefile

package info (click to toggle)
ufsparse 1.2-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 27,536 kB
  • ctags: 5,848
  • sloc: ansic: 89,328; makefile: 4,721; fortran: 1,991; csh: 207; sed: 162; awk: 33; java: 30; sh: 8
file content (55 lines) | stat: -rw-r--r-- 1,313 bytes parent folder | download
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
51
52
53
54
55
MEX = mex -O
AR = ar cr
RANLIB = ranlib

all: cs_triplet2.mexglx \
	cs_ipvec.mexglx \
	cs_pvec.mexglx \
	cs_reach.mexglx \
	cs_sqr.mexglx \
	cs_maxtransr.mexglx \
	cs_reachr.mexglx \
	cs_rowcnt.mexglx \
	cs_frand.mexglx

mexcsparse:
	( cd ../CSparse ; make mexcsparse.a )

I = -I../../Source -I../CSparse

cs_sqr.mexglx: cs_sqr_mex.c mexcsparse
	$(MEX) -output cs_sqr $< $(I) ../CSparse/mexcsparse.a

cs_ipvec.mexglx: cs_ipvec_mex.c mexcsparse
	$(MEX) -output cs_ipvec $< $(I) ../CSparse/mexcsparse.a

cs_pvec.mexglx: cs_pvec_mex.c mexcsparse
	$(MEX) -output cs_pvec $< $(I) ../CSparse/mexcsparse.a

cs_reach.mexglx: cs_reach_mex.c mexcsparse
	$(MEX) -output cs_reach $< $(I) ../CSparse/mexcsparse.a

cs_triplet2.mexglx: cs_triplet2_mex.c mexcsparse
	$(MEX) -output cs_triplet2 $< $(I) ../CSparse/mexcsparse.a

cs_maxtransr.mexglx: cs_maxtransr_mex.c mexcsparse
	$(MEX) -output cs_maxtransr $< $(I) ../CSparse/mexcsparse.a

cs_reachr.mexglx: cs_reachr_mex.c mexcsparse
	$(MEX) -output cs_reachr $< $(I) ../CSparse/mexcsparse.a

cs_rowcnt.mexglx: cs_rowcnt_mex.c mexcsparse
	$(MEX) -output cs_rowcnt $< $(I) ../CSparse/mexcsparse.a

cs_frand.mexglx: cs_frand_mex.c mexcsparse
	$(MEX) -output cs_frand $< $(I) ../CSparse/mexcsparse.a



clean:
	rm -f *.o

distclean: clean
	rm -f *.mex* *.dll *.a

purge: distclean