comparison Problems/private/make.m @ 16:41a5a3c26961

(none)
author idamnjanovic
date Thu, 25 Mar 2010 14:05:46 +0000
parents 207a6ae9a76f
children
comparison
equal deleted inserted replaced
15:51b76c31c93d 16:41a5a3c26961
11 % Ron Rubinstein 11 % Ron Rubinstein
12 % Computer Science Department 12 % Computer Science Department
13 % Technion, Haifa 32000 Israel 13 % Technion, Haifa 32000 Israel
14 % ronrubin@cs 14 % ronrubin@cs
15 % 15 %
16 % April 2009 16 % August 2009
17 17
18 18
19 % detect platform 19 % detect platform
20 20
21 compstr = computer; 21 compstr = computer;
30 end 30 end
31 31
32 32
33 % Compile files % 33 % Compile files %
34 34
35 sourcefiles = {'addtocols.c','collincomb.c','rowlincomb.c'}; 35 sourcefiles = {{'addtocols.c'}, {'collincomb.c'}, {'rowlincomb.c'}, {'sprow.c','mexutils.c'}, {'im2colstep.c'}, {'col2imstep.c'}};
36 36
37 for i = 1:length(sourcefiles) 37 for i = 1:length(sourcefiles)
38 printf('Compiling %s...', sourcefiles{i}); 38 printf('Compiling %s...', sourcefiles{i}{1});
39 mex(sourcefiles{i},compile_params{:}); 39 mex(sourcefiles{i}{:},compile_params{:});
40 end 40 end