Mercurial > octave-nkf
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/liboctave/UMFPACK/AMD/Makefile Fri Feb 25 19:55:28 2005 +0000 @@ -0,0 +1,60 @@ +#------------------------------------------------------------------------------ +# 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 + +# compile a Octave version +# (not compiled by "make all") +octave: + ( cd OCTAVE ; make ) + - 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 OCTAVE ; 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 OCTAVE ; 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 )