Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. @echo off
  2.  
  3. set NAME=%1
  4. set NAMEEXE=%NAME%.exe
  5. set NAMEKOS=%NAME%
  6.  
  7. set BUILD=-FUbuild
  8. set UNTS=-Fu..\units
  9.  
  10. fpc %NAME%.pp -n -Twin32 -Se5 -XXs -Sg -O3pPENTIUM3 -CfSSE -WB0 %BUILD% %UNTS%
  11. if errorlevel 1 goto error
  12.  
  13. ..\exe2kos\exe2kos.exe %NAMEEXE% %NAMEKOS%.kex
  14. del %NAMEEXE%
  15. goto end
  16.  
  17. :error
  18. echo An error occured while building %NAME%
  19.  
  20. :end
  21.