From eb45285dfe260927fc2a16de666628a3b768ae91 Mon Sep 17 00:00:00 2001 From: maxcodehack Date: Fri, 6 Nov 2020 13:21:31 +0000 Subject: [PATCH] Add Makefile to bcc32 git-svn-id: svn://kolibrios.org@8141 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/bcc32/examples/Makefile | 18 ++++++++++++++++++ programs/bcc32/examples/hello.kex | Bin 0 -> 8081 bytes 2 files changed, 18 insertions(+) create mode 100755 programs/bcc32/examples/Makefile create mode 100755 programs/bcc32/examples/hello.kex 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 0000000000000000000000000000000000000000..a04da2be54b3b8a2e43857075077ad8a8f832b9b GIT binary patch literal 8081 zcmb_he^gx6oqun50}nFEyeLtUWf3h=r$!5!TE}VZBsh^02L~n)2p!VahQ>4|7G{F2 zAwnP2-rh4c)*p4Z?RGty9{04n&2gajBn1!5YPkRD4CH|Ce!H@@hiVPQ;OGyD18 zH;}l;KX=aIz5DL{-tX^U_Yw@$H3rsJR>_hiRp9T5Yb2>MkSA6CUKV3aN%|S9_pGEy z(m)};*y(*){0{p0*D99qwH0OY>Jz;~wCo*n-*W=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