File: Makefile

package info (click to toggle)
umfpack 4.4-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,904 kB
  • ctags: 2,328
  • sloc: ansic: 31,039; fortran: 1,648; makefile: 1,292; sed: 162; csh: 96
file content (52 lines) | stat: -rw-r--r-- 1,430 bytes parent folder | download | duplicates (2)
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
#------------------------------------------------------------------------------
# AMD Makefile (for GNU Make or original make)
#------------------------------------------------------------------------------

# Compile everything, including the C-callable routine and the mexFunctions.
# Do not compile the FORTRAN versions.
all:
	( cd Source ; make )
	( cd Demo   ; make )
	( cd MATLAB ; make )
	- cat Doc/License

# compile just the C-callable libraries and demo programs (not mexFunctions)
lib:
	( cd Source ; make )
	( cd Demo   ; make )
	- cat Doc/License

# compile the FORTRAN libraries and demo programs (not compiled by "make all")
fortran:
	( cd Source ; make fortran )
	( cd Demo   ; make fortran )
	- cat Doc/License

# compile a FORTRAN demo program that calls the C version of AMD
# (not compiled by "make all")
cross:
	( cd Demo   ; make cross )
	- cat Doc/License

# remove object files, but keep the compiled programs and library archives
clean:
	( cd Source ; make clean )
	( cd Demo   ; make clean )
	( cd MATLAB ; make clean )
	( cd Doc    ; make clean )

# clean, and then remove compiled programs and library archives
purge:
	( cd Source ; make purge )
	( cd Demo   ; make purge )
	( cd MATLAB ; make purge )
	( cd Doc    ; make purge )

# create PDF documents for the original distribution
doc:
	( cd Doc    ; make )

# get ready for distribution
dist: purge
	( cd Demo   ; make dist )
	( cd Doc    ; make )