comparison liboctave/UMFPACK/AMD/Makefile @ 5164:57077d0ddc8e

[project @ 2005-02-25 19:55:24 by jwe]
author jwe
date Fri, 25 Feb 2005 19:55:28 +0000
parents
children
comparison
equal deleted inserted replaced
5163:9f3299378193 5164:57077d0ddc8e
1 #------------------------------------------------------------------------------
2 # AMD Makefile (for GNU Make or original make)
3 #------------------------------------------------------------------------------
4
5 # Compile everything, including the C-callable routine and the mexFunctions.
6 # Do not compile the FORTRAN versions.
7 all:
8 ( cd Source ; make )
9 ( cd Demo ; make )
10 ( cd MATLAB ; make )
11 - cat Doc/License
12
13 # compile just the C-callable libraries and demo programs (not mexFunctions)
14 lib:
15 ( cd Source ; make )
16 ( cd Demo ; make )
17 - cat Doc/License
18
19 # compile the FORTRAN libraries and demo programs (not compiled by "make all")
20 fortran:
21 ( cd Source ; make fortran )
22 ( cd Demo ; make fortran )
23 - cat Doc/License
24
25 # compile a FORTRAN demo program that calls the C version of AMD
26 # (not compiled by "make all")
27 cross:
28 ( cd Demo ; make cross )
29 - cat Doc/License
30
31 # compile a Octave version
32 # (not compiled by "make all")
33 octave:
34 ( cd OCTAVE ; make )
35 - cat Doc/License
36
37 # remove object files, but keep the compiled programs and library archives
38 clean:
39 ( cd Source ; make clean )
40 ( cd Demo ; make clean )
41 ( cd MATLAB ; make clean )
42 ( cd OCTAVE ; make clean )
43 ( cd Doc ; make clean )
44
45 # clean, and then remove compiled programs and library archives
46 purge:
47 ( cd Source ; make purge )
48 ( cd Demo ; make purge )
49 ( cd MATLAB ; make purge )
50 ( cd OCTAVE ; make purge )
51 ( cd Doc ; make purge )
52
53 # create PDF documents for the original distribution
54 doc:
55 ( cd Doc ; make )
56
57 # get ready for distribution
58 dist: purge
59 ( cd Demo ; make dist )
60 ( cd Doc ; make )