summaryrefslogtreecommitdiff
path: root/plugins/ShlExt/make.bat
blob: fb24a024ec96ee84cc49acc95415a5b876f0ca2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
rem @echo off
REM -Fi/u are for include/unit dirs
REM -Mdelphi is delphi mode
REM -WG - graphical app
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

move /y shlext.dll ..\..\bin10\Release\Plugins\ShlExt.dll