summaryrefslogtreecommitdiff
path: root/plugins/ShlExt/make.bat
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ShlExt/make.bat')
-rw-r--r--plugins/ShlExt/make.bat14
1 files changed, 6 insertions, 8 deletions
diff --git a/plugins/ShlExt/make.bat b/plugins/ShlExt/make.bat
index 78c8ca27d8..aa5fd44feb 100644
--- a/plugins/ShlExt/make.bat
+++ b/plugins/ShlExt/make.bat
@@ -6,13 +6,11 @@ REM -v0 turn off warnings
REM -O2 -Os // optimise
REM -Rintel (intel style asm)
REM -WB (relocatable) -WR (relocate)
-set OUTDIR="..\..\bin10\Release\Plugins"
+set OUTDIR="..\..\bin10\Release\Plugins"
if not exist %OUTDIR% mkdir %OUTDIR%
-md out
-fpc shlext.dpr -FEout -Fi..\..\include;..\..\include\delphi -Fi..\ExternalAPI\delphi -Fu..\..\include;..\..\include\delphi -Mdelphi -WG -O2 -Os -Rintel -WR -WB49ac0000 -v0
+md tmp
+fpc shlext.dpr -FE.\tmp -Fi..\..\include;..\..\include\delphi -Fi..\ExternalAPI\delphi -Fu..\..\include;..\..\include\delphi -Mdelphi -WG -O2 -Os -Rintel -WR -WB49ac0000 -v0
-move out\shlext.dll .
-del /Q out\*
-rd /Q out
-
-move /y shlext.dll ..\..\bin10\Release\Plugins\ShlExt.dll \ No newline at end of file
+move /y tmp\shlext.dll %OUTDIR%\ShlExt.dll
+del /Q tmp\*
+rd tmp \ No newline at end of file