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

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

Revision 495 (checked in by cbc, 11 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_ucd_mex5.c
12 mex rkck45.c
13
14
15 % These mex files require the banded matrix solver
16 % in band.c;  The first line below is a shell call
17 % that may need to be altered for a particular system.
18 % Hopefully, everyone has gcc available. 
19 %
20 % NOTE:  for 64-bit SGI, the gcc compiler appears to
21 % work, even though the combination is unsupported by MATHWORKS.
22
23
24 !gcc -ansi -fpic band.c -c
25 mex curlmex5.c band.o
26 mex divgmex5.c band.o
27 mex gradmex5.c band.o
28
29 % Moving mex binaries to ../MEX
30 !mv *.mex* ../MEX
31
32 echo off
Note: See TracBrowser for help on using the browser.