summaryrefslogtreecommitdiff
path: root/macros/buildmacros.sce
diff options
context:
space:
mode:
Diffstat (limited to 'macros/buildmacros.sce')
-rw-r--r--macros/buildmacros.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/macros/buildmacros.sce b/macros/buildmacros.sce
new file mode 100644
index 00000000..41e3ace0
--- /dev/null
+++ b/macros/buildmacros.sce
@@ -0,0 +1,27 @@
+// This file is released into the public domain
+
+Directories = [ "ASTManagement", ...
+ "CCodeGeneration", ...
+ "ErrorMessages", ...
+ "findDeps", ...
+ "FunctionAnnotation", ...
+ "FunctionList", ...
+ "GeneralFunctions", ...
+ "SymbolTable", ...
+ "ToolInitialization" ];
+
+
+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;