summaryrefslogtreecommitdiff
path: root/2.3-1/macros/Hardware/buildmacros.sce
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/macros/Hardware/buildmacros.sce')
-rw-r--r--2.3-1/macros/Hardware/buildmacros.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2.3-1/macros/Hardware/buildmacros.sce b/2.3-1/macros/Hardware/buildmacros.sce
new file mode 100644
index 00000000..88f0fb2a
--- /dev/null
+++ b/2.3-1/macros/Hardware/buildmacros.sce
@@ -0,0 +1,19 @@
+// This file is released into the public domain
+
+Directories = [ "AVR" ];
+
+
+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;