############################################################################
#
#  Program:         SuperLU
#
#  Module:          make.inc
#
#  Purpose:         Top-level Definitions
#
#  Creation date:   May 10, 2015
#
#  Modified:	    
#		    
#
############################################################################
#
# ToDo: Make this work for shared libraries and out-of-source builds.  Right
# now it only works for builds under ${CMAKE_SOURCE_DIR}/build/
#
#  The name of the libraries to be created/linked to
#
SuperLUroot	= ${CMAKE_SOURCE_DIR}/build
SUPERLULIB   	= $(SuperLUroot)/SRC/${PROJECT_NAME_LIB_EXPORT}

TMGLIB       	= libtmglib.a

# BLASDEF 	= -DUSE_VENDOR_BLAS

LIBS		= $(SUPERLULIB) ${BLAS_LIB_EXPORT}

#
#  The archiver and the flag(s) to use when building archive (library)
#  If your system has no ranlib, set RANLIB = echo.
#
ARCH         = @CMAKE_AR@
ARCHFLAGS    = cr
RANLIB       = @CMAKE_RANLIB@

CC           = @CMAKE_C_COMPILER@
CFLAGS 	     = @CMAKE_C_FLAGS_RELEASE@ @CMAKE_C_FLAGS@ 
NOOPTS       = -O0
FORTRAN	     = @CMAKE_Fortran_COMPILER@

LOADER       = $(CC)
LOADOPTS     =

#
# The directory in which Matlab is installed
#
MATLAB	     = /Applications/MATLAB_R2015b.app
