The R Project SVN R-packages

Rev

Rev 1820 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1820 Rev 1830
Line 7... Line 7...
7
default: library
7
default: library
8
 
8
 
9
# compile all C code (except hb, fortran, and fortran64), including AMD and the
9
# compile all C code (except hb, fortran, and fortran64), including AMD and the
10
# MATLAB mexFunctions
10
# MATLAB mexFunctions
11
all:
11
all:
12
	#( cd ../AMD ; make )
-
 
13
	#( cd ../AMD/MATLAB ; make )
-
 
14
	( cd Source ; make )
12
	( cd Source ; make )
15
	#( cd Demo   ; make )
-
 
16
	#( cd MATLAB ; make )
-
 
17
	#- cat Doc/License
-
 
18
 
13
 
19
# compile just the C-callable libraries and demo programs (not mexFunctions)
14
# compile just the C-callable libraries and demo programs (not mexFunctions)
20
library:
15
library:
21
	#( cd ../AMD ; make )
-
 
22
	( cd Source ; make )
16
	( cd Source ; make )
23
	#( cd Demo   ; make )
-
 
24
	#- cat Doc/License
-
 
25
 
-
 
26
# compile the FORTRAN interface and demo program
-
 
27
fortran:
-
 
28
	#( cd Demo   ; make fortran )
-
 
29
 
-
 
30
# compile the 64-bit FORTRAN interface and demo program
-
 
31
fortran64:
-
 
32
	#( cd Demo   ; make fortran64 )
-
 
33
 
-
 
34
# compile the Harwell/Boeing demo program
-
 
35
hb:
-
 
36
	#( cd Demo   ; make hb )
-
 
37
 
17
 
38
# remove object files, but keep the compiled programs and library archives
18
# remove object files, but keep the compiled programs and library archives
39
clean:
19
clean:
40
	#( cd ../AMD ; make clean )
-
 
41
	( cd Source ; make clean )
20
	( cd Source ; make clean )
42
	#( cd Demo   ; make clean )
-
 
43
	#( cd MATLAB ; make clean )
-
 
44
	#( cd Doc    ; make clean )
-
 
45
 
21
 
46
# clean, and then remove compiled programs and library archives
22
# clean, and then remove compiled programs and library archives
47
purge:
23
purge:
48
	#( cd ../AMD ; make purge )
-
 
49
	( cd Source ; make purge )
24
	( cd Source ; make purge )
50
	#( cd Demo   ; make purge )
-
 
51
	#( cd MATLAB ; make purge )
-
 
52
	#( cd Doc    ; make purge )
-
 
53
 
25
 
54
# create PDF documents for the original distribution
26
# create PDF documents for the original distribution
55
doc:
27
doc:
56
	#( cd ../AMD ; make doc )
28
	#( cd ../AMD ; make doc )
57
	#( cd Doc    ; make )
29
	#( cd Doc    ; make )
58
 
30
 
59
# get ready for distribution
-
 
60
dist: purge
-
 
61
	( cd ../AMD ; make dist )
-
 
62
	( cd Demo   ; make dist )
-
 
63
	( cd Doc    ; make )
-
 
64
 
-
 
65
distclean: purge
31
distclean: purge
66
 
32
 
67
ccode: library
33
ccode: library
68
 
34
 
69
lib: library
35
lib: library
70
 
-
 
71
# compile the MATLAB mexFunction
-
 
72
matlab:
-
 
73
	( cd ../AMD/MATLAB ; make )
-
 
74
	( cd MATLAB ; make )
-