summaryrefslogtreecommitdiff
path: root/2.3-1/macros/Scilab-Arduino/buildmacros.sce
diff options
context:
space:
mode:
authorimushir2015-12-28 16:08:36 +0530
committerimushir2015-12-28 16:08:36 +0530
commita5ffe09fca6b245c7af5a1072a124492cfc3f1b9 (patch)
treeb7a3d16b8b4b5eeb67a5313032082a371cf76b5b /2.3-1/macros/Scilab-Arduino/buildmacros.sce
parentb78d9ee3ae4c216c3b6bef13ba5637833381f529 (diff)
parent9bee3723b675d7ab65b757d38cf9c5938a63531a (diff)
downloadScilab2C-a5ffe09fca6b245c7af5a1072a124492cfc3f1b9.tar.gz
Scilab2C-a5ffe09fca6b245c7af5a1072a124492cfc3f1b9.tar.bz2
Scilab2C-a5ffe09fca6b245c7af5a1072a124492cfc3f1b9.zip
Merge branch 'master' of https://github.com/siddhu8990/Scilab2C
Fetching master
Diffstat (limited to '2.3-1/macros/Scilab-Arduino/buildmacros.sce')
-rw-r--r--2.3-1/macros/Scilab-Arduino/buildmacros.sce29
1 files changed, 29 insertions, 0 deletions
diff --git a/2.3-1/macros/Scilab-Arduino/buildmacros.sce b/2.3-1/macros/Scilab-Arduino/buildmacros.sce
new file mode 100644
index 00000000..dfeb4755
--- /dev/null
+++ b/2.3-1/macros/Scilab-Arduino/buildmacros.sce
@@ -0,0 +1,29 @@
+// This file is released into the public domain
+
+Directories = [ "ASTManagement", ...
+ "CCodeGeneration", ...
+ "ErrorMessages", ...
+ "findDeps", ...
+ "FunctionAnnotation", ...
+ "FunctionList", ...
+ "GeneralFunctions", ...
+ "SymbolTable", ...
+ "ToolInitialization"...
+ "Hardware/AVR"...
+ "Scilab-Arduino" ];
+
+
+current_path_buildmacros = get_absolute_file_path("buildmacros.sce");
+
+for K=1:size(Directories,"*")
+ myfile = current_path_buildmacros + filesep() + Directories(K) + filesep() + "buildmacros.sce";
+ if isfile(myfile) then
+ exec(myfile);
+ end
+end
+
+clear current_path_buildmacros;
+
+tbx_build_macros(TOOLBOX_NAME, get_absolute_file_path('buildmacros.sce'));
+
+clear tbx_build_macros;