Mercurial > hg > smallbox
view solvers/SMALL_ompGabor/make.m @ 247:ecce33192fcc tip
Added tag ver_2.1 for changeset cef4500b936f
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 31 Oct 2012 12:24:44 +0000 |
parents | 31d2864dfdd4 |
children |
line wrap: on
line source
function make %MAKE Build the OMPBox package. % MAKE compiles all OMPBox MEX functions, using Matlab's default MEX % compiler. If the MEX compiler has not been set-up before, please run % % mex -setup % % before using this MAKE file. % Ron Rubinstein % Computer Science Department % Technion, Haifa 32000 Israel % ronrubin@cs % % August 2009 % detect platform compstr = computer; is64bit = strcmp(compstr(end-1:end),'64'); % compilation parameters compile_params = cell(0); if (is64bit) compile_params{1} = '-largeArrayDims'; end % Compile files % ompsources = {'mexutils.c','ompcoreGabor.c','omputils.c','myblas.c','ompprof.c'}; disp('Compiling ompmex...'); mex('ompmexGabor.c', ompsources{:},compile_params{:}); disp('Compiling omp2mex...'); mex('omp2mexGabor.c',ompsources{:},compile_params{:});