2
%BTF_MAKE compile BTF for use in MATLAB
3
% Your current working directory must be BTF/MATLAB for this function to work.
8
% See also btf, maxtrans, stroncomp, dmperm.
10
% Copyright 2004-2007, Tim Davis, University of Florida
12
details = 0 ; % if 1, print details of each command
14
mexcmd = 'mex -O -DDLONG -I../Include -I../../UFconfig ' ;
15
if (~isempty (strfind (computer, '64')))
16
mexcmd = [mexcmd '-largeArrayDims '] ;
19
s = [mexcmd 'maxtrans.c ../Source/btf_maxtrans.c'] ;
25
s = [mexcmd 'strongcomp.c ../Source/btf_strongcomp.c'] ;
31
s = [mexcmd 'btf.c ../Source/btf_maxtrans.c ../Source/btf_strongcomp.c ../Source/btf_order.c'] ;
37
fprintf ('BTF successfully compiled.\n') ;