annotate scripts/miscellaneous/mex.m @ 11523:fd0a3ac60b0e

update copyright notices
author John W. Eaton <jwe@octave.org>
date Fri, 14 Jan 2011 05:47:45 -0500
parents eb63fbe60fab
children 72c96de7a403
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11523
fd0a3ac60b0e update copyright notices
John W. Eaton <jwe@octave.org>
parents: 8920
diff changeset
1 ## Copyright (C) 2006-2011 David Bateman
5904
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
2 ##
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
3 ## This file is part of Octave.
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
4 ##
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
5 ## Octave is free software; you can redistribute it and/or modify it
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
6 ## under the terms of the GNU General Public License as published by
7016
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6547
diff changeset
7 ## the Free Software Foundation; either version 3 of the License, or (at
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6547
diff changeset
8 ## your option) any later version.
5904
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
9 ##
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
10 ## Octave is distributed in the hope that it will be useful, but
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
11 ## WITHOUT ANY WARRANTY; without even the implied warranty of
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
13 ## General Public License for more details.
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
14 ##
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
15 ## You should have received a copy of the GNU General Public License
7016
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6547
diff changeset
16 ## along with Octave; see the file COPYING. If not, see
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6547
diff changeset
17 ## <http://www.gnu.org/licenses/>.
5904
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
18
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
19 ## -*- texinfo -*-
6547
4fb053f24fd6 [project @ 2007-04-19 21:47:40 by jwe]
jwe
parents: 5917
diff changeset
20 ## @deftypefn {Function File} {} mex [options] file @dots{}
5904
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
21 ## Compile source code written in C, C++, or Fortran, to a MEX file.
5917
f47c0a988fe3 [project @ 2006-07-28 21:21:51 by jwe]
jwe
parents: 5904
diff changeset
22 ## This is equivalent to @code{mkoctfile --mex [options] file}.
5904
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
23 ## @seealso{mkoctfile}
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
24 ## @end deftypefn
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
25
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
26 function mex (varargin)
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
27 args = {"--mex", varargin{:}};
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
28 mkoctfile (args{:});
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
29 endfunction