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

« back to all changes in this revision

Viewing changes to examples/interface-tutorial/Makefile.mak

  • 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:
23
23
OTHERFOBJS = 
24
24
################ do not edit below this line ############################
25
25
 
26
 
DUMPEXTS=$(SCIDIR1)\bin\dumpexts
 
26
DUMPEXTS="$(SCIDIR1)\bin\dumpexts"
27
27
SCIIMPLIB=$(SCIDIR)/bin/LibScilab.lib
28
28
 
29
29
!include $(SCIDIR1)\Makefile.incl.mak
30
30
 
31
 
FFLAGS = $(FC_OPTIONS) -DFORDLL -I$(SCIDIR1)\routines
32
 
CFLAGS = $(CC_OPTIONS) -DFORDLL -I$(SCIDIR)/routines
 
31
FFLAGS = $(FC_OPTIONS) -DFORDLL -I"$(SCIDIR1)\routines"
 
32
CFLAGS = $(CC_OPTIONS) -DFORDLL -I"$(SCIDIR)/routines"
33
33
 
34
34
FUNCTIONS = $(CFUNCTIONS) $(FFUNCTIONS)
35
35
 
49
49
        @echo "-- Generating the C function $(LIBRARY)_gateway.c";
50
50
        @echo #include "mex.h"  > $(LIBRARY)_gateway.c
51
51
        @echo /*  */ >> $(LIBRARY)_gateway.c
52
 
        @$(SCIDIR1)\macros\Tomake @<< @<< @<<
 
52
        @"$(SCIDIR1)\macros\Tomake" @<< @<< @<<
53
53
extern Gatefunc %s;\n
54
54
<<
55
55
$(CINTERFACES:.obj=)
56
56
<<
57
57
$(LIBRARY)_gateway.c
58
58
<<
59
 
        @$(SCIDIR1)\macros\Tomake @<< @<< @<<
 
59
        @"$(SCIDIR1)\macros\Tomake" @<< @<< @<<
60
60
extern Gatefunc C2F(%s);\n
61
61
<<
62
62
$(FORTRANINTERFACES:.obj=)
65
65
<<
66
66
        @echo /*  */ >> $(LIBRARY)_gateway.c
67
67
        @echo static GenericTable Tab[]={  >> $(LIBRARY)_gateway.c
68
 
        @$(SCIDIR1)\macros\Tomake @<< @<< @<<
 
68
        @"$(SCIDIR1)\macros\Tomake" @<< @<< @<<
69
69
{(Myinterfun)sci_gateway, %s,"error msg"},\n
70
70
<<
71
71
$(CINTERFACES:.obj=)
72
72
<<
73
73
$(LIBRARY)_gateway.c
74
74
<<
75
 
        @$(SCIDIR1)\macros\Tomake @<< @<< @<<
 
75
        @"$(SCIDIR1)\macros\Tomake" @<< @<< @<<
76
76
{(Myinterfun)sci_gateway, C2F(%s),"error msg"},\n
77
77
<<
78
78
$(FORTRANINTERFACES:.obj=)
91
91
$(LIBRARY).sce:
92
92
        @echo -- Generating the Scilab script $(LIBRARY).sce;
93
93
        @echo scilab_functions =[... > $(LIBRARY).sce
94
 
        @$(SCIDIR1)\macros\Tomake @<< @<< @<<
 
94
        @"$(SCIDIR1)\macros\Tomake" @<< @<< @<<
95
95
"%s";\n
96
96
<<
97
97
$(FUNCTIONS)