summaryrefslogtreecommitdiff
path: root/pkgs/Windows/startsdcc.bat
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/Windows/startsdcc.bat')
-rw-r--r--pkgs/Windows/startsdcc.bat17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/Windows/startsdcc.bat b/pkgs/Windows/startsdcc.bat
new file mode 100644
index 0000000..a13a246
--- /dev/null
+++ b/pkgs/Windows/startsdcc.bat
@@ -0,0 +1,17 @@
+@echo off
+
+rem DESCRIPTION:
+rem Run SDCC compiler from the IDE silently, i.e. without showing any additional windows.
+
+SETLOCAL ENABLEEXTENSIONS
+cd %1
+SHIFT
+
+:Loop
+IF "%1"=="" GOTO Continue
+SET args=%args% %1
+SHIFT
+GOTO Loop
+:Continue
+
+sdcc -mmcs51 %args%