Commit 00c7e0366aad51e36ad3b50ed1b6992b408862d8
1 parent
42627b85e3
Exists in
master
and in
3 other branches
git-svn-id: https://lxsd.femto-st.fr/svn/fvn@49 b657c933-2333-4658-acf2-d3c7c2708721
Showing 1 changed file with 1 additions and 1 deletions Inline Diff
fvn_sparse/UMFPACK/Makefile
#------------------------------------------------------------------------------- | 1 | 1 | #------------------------------------------------------------------------------- | |
# UMFPACK makefile (for GNU make or original make) | 2 | 2 | # UMFPACK makefile (for GNU make or original make) | |
#------------------------------------------------------------------------------- | 3 | 3 | #------------------------------------------------------------------------------- | |
4 | 4 | |||
# UMFPACK requires the AMD package to be in ../AMD | 5 | 5 | # UMFPACK requires the AMD package to be in ../AMD | |
6 | 6 | |||
default: library | 7 | 7 | default: library | |
8 | 8 | |||
include ../UFconfig/UFconfig.mk | 9 | 9 | include ../UFconfig/UFconfig.mk | |
10 | 10 | |||
# compile all C code (except hb, fortran, and fortran64), including AMD and the | 11 | 11 | # compile all C code (except hb, fortran, and fortran64), including AMD and the | |
# MATLAB mexFunctions | 12 | 12 | # MATLAB mexFunctions | |
all: | 13 | 13 | all: | |
( cd ../AMD ; $(MAKE) library ) | 14 | 14 | ( cd ../AMD ; $(MAKE) library ) | |
( cd ../AMD ; $(MAKE) mex ) | 15 | 15 | ( cd ../AMD ; $(MAKE) mex ) | |
( cd Lib ; $(MAKE) ) | 16 | 16 | ( cd Lib ; $(MAKE) ) | |
( cd Demo ; $(MAKE) ) | 17 | 17 | ( cd Demo ; $(MAKE) ) | |
( cd MATLAB ; $(MAKE) ) | 18 | 18 | ( cd MATLAB ; $(MAKE) ) | |
- cat Doc/License | 19 | 19 | - cat Doc/License | |
20 | 20 | |||
# compile just the C-callable libraries and demo programs (not mexFunctions) | 21 | 21 | # compile just the C-callable libraries and demo programs (not mexFunctions) | |
library: | 22 | 22 | library: | |
( cd ../AMD ; $(MAKE) library ) | 23 | 23 | ( cd ../AMD ; $(MAKE) library ) | |
( cd Lib ; $(MAKE) ) | 24 | 24 | ( cd Lib ; $(MAKE) ) | |
( cd Demo ; $(MAKE) ) | 25 | 25 | # ( cd Demo ; $(MAKE) ) | |
- cat Doc/License | 26 | 26 | - cat Doc/License | |
27 | 27 | |||
# compile the FORTRAN interface and demo program | 28 | 28 | # compile the FORTRAN interface and demo program | |
fortran: | 29 | 29 | fortran: | |
( cd Demo ; $(MAKE) fortran ) | 30 | 30 | ( cd Demo ; $(MAKE) fortran ) | |
31 | 31 | |||
# compile the 64-bit FORTRAN interface and demo program | 32 | 32 | # compile the 64-bit FORTRAN interface and demo program | |
fortran64: | 33 | 33 | fortran64: | |
( cd Demo ; $(MAKE) fortran64 ) | 34 | 34 | ( cd Demo ; $(MAKE) fortran64 ) | |
35 | 35 | |||
# compile the Harwell/Boeing demo program | 36 | 36 | # compile the Harwell/Boeing demo program | |
hb: | 37 | 37 | hb: | |
( cd Demo ; $(MAKE) hb ) | 38 | 38 | ( cd Demo ; $(MAKE) hb ) | |
39 | 39 | |||
# remove object files, but keep the compiled programs and library archives | 40 | 40 | # remove object files, but keep the compiled programs and library archives | |
clean: | 41 | 41 | clean: | |
( cd ../AMD ; $(MAKE) clean ) | 42 | 42 | ( cd ../AMD ; $(MAKE) clean ) | |
( cd Lib ; $(MAKE) clean ) | 43 | 43 | ( cd Lib ; $(MAKE) clean ) | |
( cd Demo ; $(MAKE) clean ) | 44 | 44 | ( cd Demo ; $(MAKE) clean ) | |
( cd MATLAB ; $(MAKE) clean ) | 45 | 45 | ( cd MATLAB ; $(MAKE) clean ) | |
( cd Doc ; $(MAKE) clean ) | 46 | 46 | ( cd Doc ; $(MAKE) clean ) | |
47 | 47 | |||
# clean, and then remove compiled programs and library archives | 48 | 48 | # clean, and then remove compiled programs and library archives | |
purge: | 49 | 49 | purge: | |
( cd ../AMD ; $(MAKE) purge ) | 50 | 50 | ( cd ../AMD ; $(MAKE) purge ) | |
( cd Lib ; $(MAKE) purge ) | 51 | 51 | ( cd Lib ; $(MAKE) purge ) | |
( cd Demo ; $(MAKE) purge ) | 52 | 52 | ( cd Demo ; $(MAKE) purge ) | |
( cd MATLAB ; $(MAKE) purge ) | 53 | 53 | ( cd MATLAB ; $(MAKE) purge ) | |
( cd Doc ; $(MAKE) purge ) | 54 | 54 | ( cd Doc ; $(MAKE) purge ) | |
55 | 55 | |||
# create PDF documents for the original distribution | 56 | 56 | # create PDF documents for the original distribution | |
doc: | 57 | 57 | doc: | |
( cd ../AMD ; $(MAKE) doc ) | 58 | 58 | ( cd ../AMD ; $(MAKE) doc ) | |
( cd Doc ; $(MAKE) ) | 59 | 59 | ( cd Doc ; $(MAKE) ) | |
60 | 60 |