Subversion Repositories Kolibri OS

Rev

Rev 623 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. @echo off
  2.  
  3. set NAME=%1
  4. set NAMEEXE=%NAME%.exe
  5. set NAMEKEX=%NAME%.kex
  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% %NAMEKEX%
  14. del %NAMEEXE%
  15. move %NAMEKEX% bin
  16. goto end
  17.  
  18. :error
  19. echo An error occured while building %NAME%
  20.  
  21. :end
  22.