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.bat9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/ShlExt/make.bat b/plugins/ShlExt/make.bat
index a9cd86087c..fb24a024ec 100644
--- a/plugins/ShlExt/make.bat
+++ b/plugins/ShlExt/make.bat
@@ -1,4 +1,4 @@
-@echo off
+rem @echo off
REM -Fi/u are for include/unit dirs
REM -Mdelphi is delphi mode
REM -WG - graphical app
@@ -6,8 +6,13 @@ REM -v0 turn off warnings
REM -O2 -Os // optimise
REM -Rintel (intel style asm)
REM -WB (relocatable) -WR (relocate)
+set OUTDIR="..\..\bin10\Release\Plugins"
+if not exist %OUTDIR% mkdir %OUTDIR%
md out
fpc shlext.dpr -FEout -Fi..\..\include;..\..\include\delphi -Fu..\..\include;..\..\include\delphi -Mdelphi -WG -O2 -Os -Rintel -WR -WB49ac0000 -v0
+
move out\shlext.dll .
del /Q out\*
-rd /Q out \ No newline at end of file
+rd /Q out
+
+move /y shlext.dll ..\..\bin10\Release\Plugins\ShlExt.dll \ No newline at end of file