diff --git a/programs/bcc32/examples/Makefile b/programs/bcc32/examples/Makefile new file mode 100755 index 0000000000..8d969c05ea --- /dev/null +++ b/programs/bcc32/examples/Makefile @@ -0,0 +1,18 @@ +SVN_BCC32:=.. +T2FASM:=$(SVN_BCC32)/t2fasm +INCLUDE:=$(SVN_BCC32)/include + +# Path to Bin folder +KOS32_BCC:=/home/autobuild/borlandcpp/bin + +# Filename +FN:=hello + +hello_world: + wine $(KOS32_BCC)/kos32-bcc -S -v- -R- -6 -a4 -O2 -Og -Oi -Ov -OS -k- -D__KOLIBRI__ -I$(INCLUDE) $(FN).cpp + echo 'include "kos_make.inc"' > f_$(FN).asm + $(T2FASM)/t2fasm < $(FN).asm >> f_$(FN).asm + fasm f_$(FN).asm $(FN).kex + + rm f_$(FN).asm + rm $(FN).asm diff --git a/programs/bcc32/examples/hello.kex b/programs/bcc32/examples/hello.kex new file mode 100755 index 0000000000..a04da2be54 Binary files /dev/null and b/programs/bcc32/examples/hello.kex differ