kolibrios-fun/programs/bcc32/examples/window/hello_cpp.bat
maxcodehack d54f7bb7b1 Remove hardcoded kos_make.inc, now it will generate via Makefile or hello_cpp.bat
git-svn-id: svn://kolibrios.org@8145 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-06 14:59:59 +00:00

10 lines
430 B
Batchfile
Executable File

kos32-bcc -S -v- -R- -6 -a4 -O2 -Og -Oi -Ov -OS -k- -D__KOLIBRI__ -Iinclude hello.cpp
echo STACKSIZE equ 102400 \n HEAPSIZE equ 102400 \n include "..\..\..\proc32.inc" \ninclude "$(INCLUDE)/kos_start.inc" \n include "$(INCLUDE)/kos_func.inc" \n include "$(INCLUDE)/kos_heap.inc" > kos_make.inc
echo include "kos_make.inc" > f_hello.asm
t2fasm < hello.asm >> f_hello.asm
fasm f_hello.asm hello.kex
kpack hello.kex
pause