Rev 8168 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
8168 | maxcodehac | 1 | Set NAME=template |
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 | |||
8236 | IgorA | 5 | echo STACKSIZE equ 8192> kos_make.inc |
6 | echo HEAPSIZE equ 0>> kos_make.inc |
||
8168 | maxcodehac | 7 | echo include "%BCC_DIR%\include\kos_start.inc">> kos_make.inc |
8 | echo include "%BCC_DIR%\include\kos_func.inc">> kos_make.inc |
||
9 | echo include "%BCC_DIR%\include\kos_heap.inc">> kos_make.inc |
||
10 | |||
11 | echo include "kos_make.inc" > f_%NAME%.asm |
||
12 | t2fasm < %NAME%.asm >> f_%NAME%.asm |
||
13 | fasm f_%NAME%.asm %NAME%.kex |
||
14 | if exist %NAME%.kex kpack %NAME%.kex |
||
15 | if exist %NAME%.kex del kos_make.inc |
||
16 | pause> |