1#------------------------------------------------------------------------------ 2# Include file for GNU make or original make (for both AMD and UMFPACK) 3#------------------------------------------------------------------------------ 4 5# You can edit these definitions, or select and and edit a specfic 6# Make.(architecture) file, below. This same file is used for configuring 7# both AMD and UMFPACK. AMD is a stand-alone package. UMFPACK requires AMD, 8# and for simplicity of configuring both packages, UMFPACK and AMD share this 9# configuration file (and all files in the AMD/Make directory). To configure 10# AMD, or both AMD and UMFPACK, you only need to edit this one file (and 11# optionaly, one of the ../Make/Make.<arch> files below). 12 13# NOTE: -DNBLAS and other BLAS configurations are ignored by AMD, since AMD 14# does not use the BLAS. This flag is here because this file, and the 15# ../Make/Make.* files, are shared by UMFPACK (which requires AMD). If you 16# use AMD but not UMFPACK, then you can ignore any BLAS-related configuration 17# settings. 18 19#CFLAGS = -O 20RANLIB = ranlib 21LIB = -lm 22RM = rm -f 23MV = mv -f 24#F77 = f77 25#F77FLAGS = -O 26F77LIB = 27AR = ar 28 29#------------------------------------------------------------------------------ 30# for the AMD and UMFPACK mexFunctions (-DNBLAS and -DNUTIL for UMFPACK only) 31#------------------------------------------------------------------------------ 32 33# MATLAB 6.0 or later (default) 34MEX = mex -inline -O 35 36# MATLAB 6.0 or later (no divide-by-zero) 37# MEX = mex -inline -O -DNO_DIVIDE_BY_ZERO 38 39# MATLAB 5 (no BLAS, do not try to use utMalloc, utFree, and utRealloc) 40# MEX = mex -inline -O -DNBLAS -DNUTIL 41 42#------------------------------------------------------------------------------ 43# for UMFPACK only (BLAS configuration): 44#------------------------------------------------------------------------------ 45 46# The default is to NOT use the BLAS. UMFPACK will be slow, but this is more 47# portable. Try this option first, then use your architecture-specific 48# configuration, below, to add the BLAS library. AMD ignores the -DNBLAS flag. 49 50#CONFIG = -DNBLAS 51 52#------------------------------------------------------------------------------ 53# Archicture-specific configuration (for both AMD and UMFPACK) 54#------------------------------------------------------------------------------ 55 56# Select your architecture by un-commenting the appropriate line. The include 57# file can redefine any of the above definitions, or other definitions. Use 58# CC = ... to redefine the name of your C compiler, for example. Without 59# any specific changes, this Makefile should work on nearly all systems. 60 61# include ../Make/Make.linux 62# include ../Make/Make.sgi 63# include ../Make/Make.solaris 64# include ../Make/Make.alpha 65# include ../Make/Make.rs6000 66 67#------------------------------------------------------------------------------ 68# remove object files and profile output 69#------------------------------------------------------------------------------ 70 71clean: 72 - $(RM) *.o *.obj *.ln *.bb *.bbg *.da *.c.tcov *.c.gcov gmon.out *.bak 73