kolibrios/programs/develop/fp/examples/_build.bat
bw 63328e8522 [FP] changes in RTL, first example
git-svn-id: svn://kolibrios.org@623 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-09-12 16:34:21 +00:00

21 lines
342 B
Batchfile

@echo off
set NAME=%1
set NAMEEXE=%NAME%.exe
set NAMEKOS=%NAME%
set BUILD=-FUbuild
set UNTS=-Fu..\units
fpc %NAME%.pp -n -Twin32 -Se5 -XXs -Sg -O3pPENTIUM3 -CfSSE -WB0 %BUILD% %UNTS%
if errorlevel 1 goto error
..\exe2kos\exe2kos.exe %NAMEEXE% %NAMEKOS%.kex
del %NAMEEXE%
goto end
:error
echo An error occured while building %NAME%
:end