NCCOOS Trac Projects: Top | Web | Platforms | Processing | Viz | Sprints | Sandbox | (Wind)

root/gliderproc/trunk/MATLAB/opnml/MEX/makemex.m

Revision 495 (checked in by cbc, 12 years ago)

Initial import of Stark code.

Line 
1 % OPNML/MATLAB CMEX-file compile script
2 echo on
3
4 % These stand-alone mex files should be OK
5
6 mex contmex5.c
7 mex ele2neimex5.c
8 mex findelemex5.c
9 mex isopmex5.c
10 mex read_icq4_mex5.c
11 %mex read_icq4_mex52.c
12 %mex read_ucd_mex5.c
13 mex rkck45.c
14
15
16 % These mex files require the banded matrix solver
17 % in band.c;  The first line below is a shell call
18 % that may need to be altered for a particular system.
19 % Hopefully, everyone has gcc available. 
20 %
21 % NOTE:  for 64-bit SGI, the gcc compiler appears to
22 % work, even though the combination is unsupported by MATHWORKS.
23
24
25 !gcc -ansi -fpic band.c -c
26 mex curlmex5.c band.o
27 mex divgmex5.c band.o
28 mex gradmex5.c band.o
29 mex gradmex6.c band.o
30
31 echo off
Note: See TracBrowser for help on using the browser.