summaryrefslogtreecommitdiff
path: root/plugins/Watrack
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack')
-rw-r--r--plugins/Watrack/icons/makeicons.bat4
-rw-r--r--plugins/Watrack/make.bat4
2 files changed, 8 insertions, 0 deletions
diff --git a/plugins/Watrack/icons/makeicons.bat b/plugins/Watrack/icons/makeicons.bat
index a2be4f8ccf..54306e33f5 100644
--- a/plugins/Watrack/icons/makeicons.bat
+++ b/plugins/Watrack/icons/makeicons.bat
@@ -1,4 +1,8 @@
rem @echo off
+set p1=%1
+set p2=%2
+if "%p1%" == "" (echo "please specify target platform by adding 'fpc' or 'fpc64 parameter to commamd line!'"&&pause&&goto :EOF)
+if "%p2%" == "" (echo "please specify target output directory by adding 10 for bin10 or 11 for bin11 to command line!'"&&pause&&goto :EOF)
if /i '%1' == 'fpc' (
set OUTDIR="..\..\..\bin%2\Release\Icons"
set FPCBIN=fpc.exe
diff --git a/plugins/Watrack/make.bat b/plugins/Watrack/make.bat
index 76c66995e4..81817e2191 100644
--- a/plugins/Watrack/make.bat
+++ b/plugins/Watrack/make.bat
@@ -1,4 +1,8 @@
@echo off
+set p1=%1
+set p2=%2
+if "%p1%" == "" (echo "please specify target platform by adding 'fpc' or 'fpc64 parameter to commamd line!'"&&pause&&goto :EOF)
+if "%p2%" == "" (echo "please specify target output directory by adding 10 for bin10 or 11 for bin11 to command line!'"&&pause&&goto :EOF)
if /i '%1' == 'fpc' (
set OUTDIR="..\..\bin%2\Release\Plugins"
set FPCBIN=fpc.exe