summaryrefslogtreecommitdiff
path: root/2.3-1/macros/CCodeGeneration
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/macros/CCodeGeneration')
-rw-r--r--2.3-1/macros/CCodeGeneration/C_FinalizeCode.binbin18232 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/C_ForExpression.binbin32208 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/C_Funcall.binbin73176 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/C_GenDeclarations.binbin22004 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/C_GenerateFunName.binbin7776 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/C_GenerateLaunchScript.binbin17232 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/C_GenerateMakefile.binbin32632 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/C_GenerateMakefile.sci19
-rw-r--r--2.3-1/macros/CCodeGeneration/C_GenerateMakefile_msvc.binbin29868 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/C_GenerateMkfle_arduino.binbin3104 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/C_GenerateSCI2CHeader.binbin1936 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/C_IfElseBlocks.binbin8516 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/C_IfExpression.binbin10612 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/C_IndentBlanks.binbin3184 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/C_InitHeader.binbin14140 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/C_MemAllocOutTempVars.binbin12996 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/C_SCI2CHeader.binbin7268 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/C_Type.binbin6816 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/C_WhileExpression.binbin13196 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/GenCFunDatFiles.binbin9348 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/GetClsFileName.binbin13340 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/GetSymbolDimension.binbin8944 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/GetWhileCondVariable.binbin10228 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/JoinDeclarAndCcode.binbin22776 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/Sci2AnnotationFile.binbin7400 -> 0 bytes
-rw-r--r--2.3-1/macros/CCodeGeneration/libbin1044 -> 2449 bytes
26 files changed, 19 insertions, 0 deletions
diff --git a/2.3-1/macros/CCodeGeneration/C_FinalizeCode.bin b/2.3-1/macros/CCodeGeneration/C_FinalizeCode.bin
deleted file mode 100644
index b4005914..00000000
--- a/2.3-1/macros/CCodeGeneration/C_FinalizeCode.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/C_ForExpression.bin b/2.3-1/macros/CCodeGeneration/C_ForExpression.bin
deleted file mode 100644
index 1c3f6747..00000000
--- a/2.3-1/macros/CCodeGeneration/C_ForExpression.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/C_Funcall.bin b/2.3-1/macros/CCodeGeneration/C_Funcall.bin
deleted file mode 100644
index 80fda7c4..00000000
--- a/2.3-1/macros/CCodeGeneration/C_Funcall.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/C_GenDeclarations.bin b/2.3-1/macros/CCodeGeneration/C_GenDeclarations.bin
deleted file mode 100644
index c3b36009..00000000
--- a/2.3-1/macros/CCodeGeneration/C_GenDeclarations.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/C_GenerateFunName.bin b/2.3-1/macros/CCodeGeneration/C_GenerateFunName.bin
deleted file mode 100644
index 1b723f16..00000000
--- a/2.3-1/macros/CCodeGeneration/C_GenerateFunName.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/C_GenerateLaunchScript.bin b/2.3-1/macros/CCodeGeneration/C_GenerateLaunchScript.bin
deleted file mode 100644
index 587c1547..00000000
--- a/2.3-1/macros/CCodeGeneration/C_GenerateLaunchScript.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/C_GenerateMakefile.bin b/2.3-1/macros/CCodeGeneration/C_GenerateMakefile.bin
deleted file mode 100644
index cea86411..00000000
--- a/2.3-1/macros/CCodeGeneration/C_GenerateMakefile.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/C_GenerateMakefile.sci b/2.3-1/macros/CCodeGeneration/C_GenerateMakefile.sci
index 7dfb4da4..893ec938 100644
--- a/2.3-1/macros/CCodeGeneration/C_GenerateMakefile.sci
+++ b/2.3-1/macros/CCodeGeneration/C_GenerateMakefile.sci
@@ -78,6 +78,25 @@ else
PrintStringInfo('CXXFLAGS = -Wall -pedantic -g -I $(HSRCDIR) -I $(ISRCDIR) -L $(LIBDIR)',FileInfo.MakefileFilename,'file','y','y');
PrintStringInfo('LDFLAGS = -lblas -llapack -lm ',FileInfo.MakefileFilename,'file','y','y');
end
+
+ //If ode function is used, add libgsl.
+ if(size(SharedInfo.Includelist) <> 0)
+ if((mtlb_strcmp(part(SharedInfo.Includelist(1),1:5),'odefn') == %T))
+ if(target == 'RPi')
+ PrintStringInfo('LDFLAGS = -lgsl -lcblas',FileInfo.MakefileFilename,'file','y','y');
+ else
+ PrintStringInfo('LDFLAGS = -lgsl',FileInfo.MakefileFilename,'file','y','y');
+ end
+
+ end
+ end
+
+ if (target == 'RPi')
+ PrintStringInfo('LDFLAGS += -llapack -lrefblas -lgfortran -lwiringPi',FileInfo.MakefileFilename,'file','y','y');
+ else
+ PrintStringInfo('LDFLAGS += -lblas -llapack -lm ',FileInfo.MakefileFilename,'file','y','y');
+ end
+
if(SharedInfo.OpenCVUsed == %T)
PrintStringInfo('LDFLAGS += -lopencv_calib3d -lopencv_contrib -lopencv_features2d -lopencv_flann -lopencv_gpu',FileInfo.MakefileFilename,'file','y','y');
PrintStringInfo('LDFLAGS += -lopencv_highgui -lopencv_imgproc -lopencv_legacy -lopencv_ml -lopencv_nonfree',FileInfo.MakefileFilename,'file','y','y');
diff --git a/2.3-1/macros/CCodeGeneration/C_GenerateMakefile_msvc.bin b/2.3-1/macros/CCodeGeneration/C_GenerateMakefile_msvc.bin
deleted file mode 100644
index 838c674e..00000000
--- a/2.3-1/macros/CCodeGeneration/C_GenerateMakefile_msvc.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/C_GenerateMkfle_arduino.bin b/2.3-1/macros/CCodeGeneration/C_GenerateMkfle_arduino.bin
deleted file mode 100644
index ce25219f..00000000
--- a/2.3-1/macros/CCodeGeneration/C_GenerateMkfle_arduino.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/C_GenerateSCI2CHeader.bin b/2.3-1/macros/CCodeGeneration/C_GenerateSCI2CHeader.bin
deleted file mode 100644
index 2e02cae4..00000000
--- a/2.3-1/macros/CCodeGeneration/C_GenerateSCI2CHeader.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/C_IfElseBlocks.bin b/2.3-1/macros/CCodeGeneration/C_IfElseBlocks.bin
deleted file mode 100644
index 332e89bf..00000000
--- a/2.3-1/macros/CCodeGeneration/C_IfElseBlocks.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/C_IfExpression.bin b/2.3-1/macros/CCodeGeneration/C_IfExpression.bin
deleted file mode 100644
index c6cda7bd..00000000
--- a/2.3-1/macros/CCodeGeneration/C_IfExpression.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/C_IndentBlanks.bin b/2.3-1/macros/CCodeGeneration/C_IndentBlanks.bin
deleted file mode 100644
index 77bfaebc..00000000
--- a/2.3-1/macros/CCodeGeneration/C_IndentBlanks.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/C_InitHeader.bin b/2.3-1/macros/CCodeGeneration/C_InitHeader.bin
deleted file mode 100644
index 567822c0..00000000
--- a/2.3-1/macros/CCodeGeneration/C_InitHeader.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/C_MemAllocOutTempVars.bin b/2.3-1/macros/CCodeGeneration/C_MemAllocOutTempVars.bin
deleted file mode 100644
index 443ad3c1..00000000
--- a/2.3-1/macros/CCodeGeneration/C_MemAllocOutTempVars.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/C_SCI2CHeader.bin b/2.3-1/macros/CCodeGeneration/C_SCI2CHeader.bin
deleted file mode 100644
index 1d3e6182..00000000
--- a/2.3-1/macros/CCodeGeneration/C_SCI2CHeader.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/C_Type.bin b/2.3-1/macros/CCodeGeneration/C_Type.bin
deleted file mode 100644
index 7b5bf444..00000000
--- a/2.3-1/macros/CCodeGeneration/C_Type.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/C_WhileExpression.bin b/2.3-1/macros/CCodeGeneration/C_WhileExpression.bin
deleted file mode 100644
index cff8f38d..00000000
--- a/2.3-1/macros/CCodeGeneration/C_WhileExpression.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/GenCFunDatFiles.bin b/2.3-1/macros/CCodeGeneration/GenCFunDatFiles.bin
deleted file mode 100644
index 6a374f5b..00000000
--- a/2.3-1/macros/CCodeGeneration/GenCFunDatFiles.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/GetClsFileName.bin b/2.3-1/macros/CCodeGeneration/GetClsFileName.bin
deleted file mode 100644
index 30b25713..00000000
--- a/2.3-1/macros/CCodeGeneration/GetClsFileName.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/GetSymbolDimension.bin b/2.3-1/macros/CCodeGeneration/GetSymbolDimension.bin
deleted file mode 100644
index 5c73f435..00000000
--- a/2.3-1/macros/CCodeGeneration/GetSymbolDimension.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/GetWhileCondVariable.bin b/2.3-1/macros/CCodeGeneration/GetWhileCondVariable.bin
deleted file mode 100644
index 6815fb4b..00000000
--- a/2.3-1/macros/CCodeGeneration/GetWhileCondVariable.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/JoinDeclarAndCcode.bin b/2.3-1/macros/CCodeGeneration/JoinDeclarAndCcode.bin
deleted file mode 100644
index 084ab085..00000000
--- a/2.3-1/macros/CCodeGeneration/JoinDeclarAndCcode.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/Sci2AnnotationFile.bin b/2.3-1/macros/CCodeGeneration/Sci2AnnotationFile.bin
deleted file mode 100644
index 95fe5611..00000000
--- a/2.3-1/macros/CCodeGeneration/Sci2AnnotationFile.bin
+++ /dev/null
Binary files differ
diff --git a/2.3-1/macros/CCodeGeneration/lib b/2.3-1/macros/CCodeGeneration/lib
index d0cb0a22..2db4b8c8 100644
--- a/2.3-1/macros/CCodeGeneration/lib
+++ b/2.3-1/macros/CCodeGeneration/lib
Binary files differ