summaryrefslogtreecommitdiff
path: root/plugins/Watrack/make.bat
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack/make.bat')
-rw-r--r--plugins/Watrack/make.bat6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/Watrack/make.bat b/plugins/Watrack/make.bat
index 21e7dbb6d7..043349424b 100644
--- a/plugins/Watrack/make.bat
+++ b/plugins/Watrack/make.bat
@@ -1,5 +1,9 @@
rem @echo off
-set OUTDIR="..\..\bin10\Release\Plugins"
+if /i '%1' == 'fpc' (
+ set OUTDIR="..\..\bin10\Release\Plugins"
+) else if /i '%1' == 'fpc64' (
+ set OUTDIR="..\..\bin10\Release64\Plugins"
+)
if not exist %OUTDIR% mkdir %OUTDIR%
md tmp
set myopts=-O3 -Xs -Sd -dMiranda -FE.\tmp -FU.\tmp -FE%OUTDIR% -Fi..\Utils.pas -Fi..\ExternalAPI\delphi -Fu..\Utils.pas -Fu..\..\include\delphi -Fu..\ExternalAPI\delphi