forked from KolibriOS/kolibrios
Remove binarie
git-svn-id: svn://kolibrios.org@8143 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
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
|
||||
@@ -1,34 +0,0 @@
|
||||
#include "../include/kolibri.h"
|
||||
#include "../include/kos_heap.h"
|
||||
#include "../include/kos_file.h"
|
||||
|
||||
using namespace Kolibri;
|
||||
|
||||
const char header[] = "Hello World test";
|
||||
const char string[] = "Hello, World!";
|
||||
|
||||
bool KolibriOnStart(TStartData &me_start, TThreadData /*th*/)
|
||||
{
|
||||
me_start.Left = 10;
|
||||
me_start.Top = 40;
|
||||
me_start.Width = 150;
|
||||
me_start.Height = 80;
|
||||
me_start.WinData.Title = header;
|
||||
return true;
|
||||
}
|
||||
|
||||
void KolibriOnPaint(void)
|
||||
{
|
||||
DrawText(30,10,0,string);
|
||||
}
|
||||
|
||||
bool KolibriOnClose(TThreadData /*th*/)
|
||||
{return true;}
|
||||
int KolibriOnIdle(TThreadData /*th*/)
|
||||
{return -1;}
|
||||
void KolibriOnSize(int /*window_rect*/[], TThreadData /*th*/)
|
||||
{}
|
||||
void KolibriOnKeyPress(TThreadData /*th*/)
|
||||
{GetKey();}
|
||||
void KolibriOnMouse(TThreadData /*th*/)
|
||||
{}
|
||||
@@ -1,6 +0,0 @@
|
||||
kos32-bcc -S -v- -R- -6 -a4 -O2 -Og -Oi -Ov -OS -k- -D__KOLIBRI__ -Iinclude hello.cpp
|
||||
echo include "kos_make.inc" > f_hello.asm
|
||||
t2fasm < hello.asm >> f_hello.asm
|
||||
fasm f_hello.asm hello.kex
|
||||
kpack hello.kex
|
||||
pause
|
||||
@@ -1,7 +0,0 @@
|
||||
STACKSIZE equ 102400
|
||||
HEAPSIZE equ 102400
|
||||
|
||||
include "..\..\proc32.inc"
|
||||
include "..\include\kos_start.inc"
|
||||
include "..\include\kos_func.inc"
|
||||
include "..\include\kos_heap.inc"
|
||||
Reference in New Issue
Block a user