comparison solvers/SMALL_ompGabor/make.m @ 140:31d2864dfdd4 ivand_dev

Audio Impainting additional constraints with cvx added
author Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk>
date Mon, 25 Jul 2011 17:27:05 +0100
parents
children
comparison
equal deleted inserted replaced
139:4bd6856a7128 140:31d2864dfdd4
1 function make
2 %MAKE Build the OMPBox package.
3 % MAKE compiles all OMPBox MEX functions, using Matlab's default MEX
4 % compiler. If the MEX compiler has not been set-up before, please run
5 %
6 % mex -setup
7 %
8 % before using this MAKE file.
9
10 % Ron Rubinstein
11 % Computer Science Department
12 % Technion, Haifa 32000 Israel
13 % ronrubin@cs
14 %
15 % August 2009
16
17
18 % detect platform
19
20 compstr = computer;
21 is64bit = strcmp(compstr(end-1:end),'64');
22
23
24 % compilation parameters
25
26 compile_params = cell(0);
27 if (is64bit)
28 compile_params{1} = '-largeArrayDims';
29 end
30
31
32 % Compile files %
33
34 ompsources = {'mexutils.c','ompcoreGabor.c','omputils.c','myblas.c','ompprof.c'};
35
36 disp('Compiling ompmex...');
37 mex('ompmexGabor.c', ompsources{:},compile_params{:});
38
39 disp('Compiling omp2mex...');
40 mex('omp2mexGabor.c',ompsources{:},compile_params{:});
41