summaryrefslogtreecommitdiff
path: root/2.3-1/macros/CCodeGeneration/C_GenerateMakefile.sci
diff options
context:
space:
mode:
authorsiddhu89902016-05-27 11:50:04 +0530
committersiddhu89902016-05-27 11:50:04 +0530
commit49003250e69e4e500742614888e47db789bbe451 (patch)
tree44bdcb9f8a4989789bbab2e10cd43d114fb237b4 /2.3-1/macros/CCodeGeneration/C_GenerateMakefile.sci
parent18587a5f0cf86d636ac23a5be567437cd822bbc2 (diff)
downloadScilab2C-49003250e69e4e500742614888e47db789bbe451.tar.gz
Scilab2C-49003250e69e4e500742614888e47db789bbe451.tar.bz2
Scilab2C-49003250e69e4e500742614888e47db789bbe451.zip
Support for basic ODE function added
Diffstat (limited to '2.3-1/macros/CCodeGeneration/C_GenerateMakefile.sci')
-rw-r--r--2.3-1/macros/CCodeGeneration/C_GenerateMakefile.sci4
1 files changed, 4 insertions, 0 deletions
diff --git a/2.3-1/macros/CCodeGeneration/C_GenerateMakefile.sci b/2.3-1/macros/CCodeGeneration/C_GenerateMakefile.sci
index 4817af1e..fecbf915 100644
--- a/2.3-1/macros/CCodeGeneration/C_GenerateMakefile.sci
+++ b/2.3-1/macros/CCodeGeneration/C_GenerateMakefile.sci
@@ -75,6 +75,10 @@ else
PrintStringInfo('LDFLAGS = -lblas -llapack -lm ',FileInfo.MakefileFilename,'file','y','y');
end
end
+//If ode function is used, add libgsl.
+if(size(SharedInfo.ODElist) <> 0)
+ PrintStringInfo('LDFLAGS += -lgsl',FileInfo.MakefileFilename,'file','y','y');
+end
// Binary definition
PrintStringInfo('EXEFILENAME = mytest.exe',FileInfo.MakefileFilename,'file','y','y');