From 49003250e69e4e500742614888e47db789bbe451 Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Fri, 27 May 2016 11:50:04 +0530 Subject: Support for basic ODE function added --- 2.3-1/macros/CCodeGeneration/C_GenerateMakefile.sci | 4 ++++ 1 file changed, 4 insertions(+) (limited to '2.3-1/macros/CCodeGeneration/C_GenerateMakefile.sci') 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'); -- cgit