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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
#------------------------------------------------------------------------------
# Include file for GNU make or original make (for both AMD and UMFPACK)
#------------------------------------------------------------------------------
# You can edit these definitions, or select and and edit a specfic
# Make.(architecture) file, below. This same file is used for configuring
# both AMD and UMFPACK. AMD is a stand-alone package. UMFPACK requires AMD,
# and for simplicity of configuring both packages, UMFPACK and AMD share this
# configuration file (and all files in the AMD/Make directory). To configure
# AMD, or both AMD and UMFPACK, you only need to edit this one file (and
# optionaly, one of the ../Make/Make.<arch> files below).
# NOTE: -DNBLAS and other BLAS configurations are ignored by AMD, since AMD
# does not use the BLAS. This flag is here because this file, and the
# ../Make/Make.* files, are shared by UMFPACK (which requires AMD). If you
# use AMD but not UMFPACK, then you can ignore any BLAS-related configuration
# settings.
CFLAGS = -O
RANLIB = ranlib
LIB = -lm
RM = rm -f
MV = mv -f
F77 = f77
F77FLAGS = -O
F77LIB =
AR = ar
#------------------------------------------------------------------------------
# for the AMD and UMFPACK mexFunctions (-DNBLAS and -DNUTIL for UMFPACK only)
#------------------------------------------------------------------------------
# MATLAB 6.0 or later (default)
MEX = mex -inline -O
# MATLAB 6.0 or later (no divide-by-zero)
# MEX = mex -inline -O -DNO_DIVIDE_BY_ZERO
# MATLAB 5 (no BLAS, do not try to use utMalloc, utFree, and utRealloc)
# MEX = mex -inline -O -DNBLAS -DNUTIL
#------------------------------------------------------------------------------
# for UMFPACK only (BLAS configuration):
#------------------------------------------------------------------------------
# The default is to NOT use the BLAS. UMFPACK will be slow, but this is more
# portable. Try this option first, then use your architecture-specific
# configuration, below, to add the BLAS library. AMD ignores the -DNBLAS flag.
# CONFIG = -DNBLAS
#------------------------------------------------------------------------------
# Archicture-specific configuration (for both AMD and UMFPACK)
#------------------------------------------------------------------------------
# Select your architecture by un-commenting the appropriate line. The include
# file can redefine any of the above definitions, or other definitions. Use
# CC = ... to redefine the name of your C compiler, for example. Without
# any specific changes, this Makefile should work on nearly all systems.
# include ../Make/Make.linux
# include ../Make/Make.sgi
# include ../Make/Make.solaris
# include ../Make/Make.alpha
# include ../Make/Make.rs6000
#------------------------------------------------------------------------------
# remove object files and profile output
#------------------------------------------------------------------------------
clean:
- $(RM) *.o *.obj *.ln *.bb *.bbg *.da *.c.tcov *.c.gcov gmon.out *.bak
|