Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. Set NAME=open_dlg
  2. Set BCC_DIR=..\..\..\bcc32
  3. kos32-bcc -S -v- -R- -6 -a4 -O2 -Og -Oi -Ov -OS -k- -D__KOLIBRI__ -I..\..\..\bcc32\include %NAME%.cpp
  4.  
  5. echo STACKSIZE equ 8192> kos_make.inc
  6. echo include "%BCC_DIR%\include\kos_start.inc">> kos_make.inc
  7. echo include "%BCC_DIR%\include\kos_func.inc">> kos_make.inc
  8. echo include "%BCC_DIR%\include\kos_heap.inc">> kos_make.inc
  9.  
  10. echo include "kos_make.inc" > f_%NAME%.asm
  11. t2fasm < %NAME%.asm >> f_%NAME%.asm
  12. fasm f_%NAME%.asm %NAME%.kex
  13. if exist %NAME%.kex kpack %NAME%.kex
  14. if exist %NAME%.kex del kos_make.inc
  15. pause
  16.