~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to examples/mex-examples/cmex/builder.sce

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// This is the builder.sce 
 
2
// must be run from this directory 
 
3
 
 
4
ilib_name  = 'libmex'           // interface library name 
 
5
 
 
6
// objects files (but do not give mexfiles here)
 
7
 
 
8
files = [];
 
9
 
 
10
// other libs needed for linking (must be shared library names)
 
11
 
 
12
libs  = []                              
 
13
 
 
14
// table of (scilab_name,interface-name or mexfile-name, type) 
 
15
 
 
16
table =['mexf01','mexfunction01','cmex';
 
17
        'mexf02','mexfunction02','cmex';
 
18
        'mexf03','mexfunction03','cmex';
 
19
        'mexf04','mexfunction04','cmex';
 
20
        'mexf05','mexfunction05','cmex';
 
21
        'mexf06','mexfunction06','cmex';
 
22
        'mexf07','mexfunction07','cmex';
 
23
        'mexf08','mexfunction08','cmex';
 
24
        'mexf09','mexfunction09','cmex';
 
25
        'mexf10','mexfunction10','cmex';
 
26
        'mexf11','mexfunction11','cmex';
 
27
        'mexf12','mexfunction12','cmex';
 
28
        'mexf13','mexfunction13','cmex';
 
29
        'mexf14','mexfunction14','cmex';
 
30
        'mexf15','mexfunction15','cmex';];
 
31
//Uncomment next 2 lines for a Fortran example
 
32
//table = [table;
 
33
//      'mexf16','mexfunction16','fmex'];
 
34
 
 
35
ldflags = "";
 
36
cflags = "";
 
37
fflags = "";
 
38
 
 
39
// do not modify below 
 
40
// ----------------------------------------------
 
41
ilib_mex_build(ilib_name,table,files,libs,'Makelib',ldflags,cflags,fflags)