Add Ubuntu's default install directory for libsuitesparse-dev package.

This commit is contained in:
Bård Skaflestad
2010-08-09 09:13:56 +00:00
parent b558bf929f
commit e07d447558

View File

@@ -55,14 +55,20 @@ function varargout = mex_schur_comp_symm(varargin)
% $Date$
% $Revision$
buildmex -O CFLAGS="\$CFLAGS -W -Wall -pedantic -W -Wformat-nonliteral ...
-Wcast-align -Wpointer-arith -Wbad-function-cast ...
-Wmissing-prototypes -Wstrict-prototypes ...
-Wmissing-declarations -Winline -Wundef -Wnested-externs...
-Wcast-qual -Wshadow -Wconversion -Wwrite-strings...
-Wno-conversion -Wchar-subscripts -Wredundant-decls" -largeArrayDims -DCOMPILING_FOR_MATLAB=1 ...
mex_schur_comp_symm.c hybsys.c call_umfpack.c ...
-lmwlapack -lmwblas -lmwumfpack -lmwamd -I/work/include/SuiteSparse/
buildmex CFLAGS="\$CFLAGS -Wall -Wextra -ansi -pedantic ...
-Wformat-nonliteral -Wcast-align -Wpointer-arith ...
-Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes ...
-Wmissing-declarations -Winline -Wundef -Wnested-externs ...
-Wcast-qual -Wshadow -Wconversion -Wwrite-strings ...
-Wno-conversion -Wchar-subscripts -Wredundant-decls" ...
...
-O -largeArrayDims -DCOMPILING_FOR_MATLAB=1 ...
-I/work/include/SuiteSparse/ ...
-I/usr/include/suitesparse/ ...
...
mex_schur_comp_symm.c hybsys.c call_umfpack.c ...
...
-lmwumfpack -lmwamd -lmwlapack -lmwblas
% Call MEX'ed edition.
[varargout{1:nargout}] = mex_schur_comp_symm(varargin{:});