forked from KolibriOS/kolibrios
4cc19614ca
git-svn-id: svn://kolibrios.org@670 a494cfbc-eb01-0410-851d-a64ba20cac60
31 lines
796 B
Batchfile
31 lines
796 B
Batchfile
@echo off
|
||
|
||
rem „«ï ᡮન ¨£àë ¥®¡å®¤¨¬® ¢ ¯¥à¥¬¥®© UNITS (®¯à¥¤¥«¥ ¨¦¥)
|
||
rem 㪠§ âì à ᯮ«®¦¥¨¥ ¯ ¯ª¨, ¢ ª®â®à®© 室ïâáï ®âª®¬¯¨«¨à®¢ ë¥ ¬®¤ã«¨
|
||
rem RTL ¤«ï KolibriOS. <20> ¯à¨¬¥à, ¥á«¨ ¨á室¨ª¨ RTL 室ïâáï ¢ ¯ ¯ª¥ my/rtl,
|
||
rem ⮠ᮡà ë¥ ¬®¤ã«¨ RTL - ᪮॥ ¢á¥£® ¢ my/units. Œ®¦¥â ®ª § âìáï
|
||
rem ¤®áâ â®çë¬ ¯à®áâ® ¯¥à¥¥á⨠íâã ¯ ¯ªã (lrl) ¢ ¤¨à¥ªâ®à¨î my.
|
||
|
||
rem ’ ª ¦¥, ¤«ï ᡮન, ¢ ¬ ¯® ¤®¡¨âáï ã⨫¨â exe2kos.exe ¨ FreePascal 2.2.0.
|
||
|
||
|
||
set NAME=lrl
|
||
set NAMEEXE=%NAME%.exe
|
||
set NAMEKEX=%NAME%.kex
|
||
|
||
set BUILD=-FUbuild
|
||
set UNITS=-Fu../units
|
||
|
||
fpc %NAME%.pp -n -Twin32 -Se5 -XXs -Sg -O3pPENTIUM3 -CfSSE -WB0 %BUILD% %UNITS%
|
||
if errorlevel 1 goto error
|
||
|
||
exe2kos.exe %NAMEEXE% %NAMEKEX%
|
||
del %NAMEEXE%
|
||
move %NAMEKEX% bin
|
||
goto end
|
||
|
||
:error
|
||
echo An error occured while building %NAME%
|
||
|
||
:end
|