1
#------------------------------------------------------------------------------
2
# AMD Makefile (for GNU Make or original make)
3
#------------------------------------------------------------------------------
7
include ../UFconfig/UFconfig.mk
9
# Compile all C code, including the C-callable routine and the mexFunctions.
10
# Do not compile the FORTRAN versions, or MATLAB interface.
12
( cd Source ; $(MAKE) )
15
# Compile all C code, including the C-callable routine and the mexFunctions.
16
# Do not compile the FORTRAN versions.
18
( cd Source ; $(MAKE) )
20
( cd MATLAB ; $(MAKE) )
22
# compile just the C-callable libraries (not mexFunctions or Demos)
24
( cd Source ; $(MAKE) )
26
# compile the FORTRAN libraries and demo programs (not compiled by "make all")
28
( cd Source ; $(MAKE) fortran )
29
( cd Demo ; $(MAKE) fortran )
31
# compile a FORTRAN demo program that calls the C version of AMD
32
# (not compiled by "make all")
34
( cd Demo ; $(MAKE) cross )
36
# remove object files, but keep the compiled programs and library archives
38
( cd Source ; $(MAKE) clean )
39
( cd Demo ; $(MAKE) clean )
40
( cd MATLAB ; $(MAKE) clean )
41
( cd Doc ; $(MAKE) clean )
43
# clean, and then remove compiled programs and library archives
45
( cd Source ; $(MAKE) purge )
46
( cd Demo ; $(MAKE) purge )
47
( cd MATLAB ; $(MAKE) purge )
48
( cd Doc ; $(MAKE) purge )
52
# create PDF documents for the original distribution
56
# get ready for distribution
58
( cd Demo ; $(MAKE) dist )
65
# compile the MATLAB mexFunction
67
( cd MATLAB ; $(MAKE) )