diff --git a/programs/develop/ktcc/trunk/bin/lib/libmelibc.a b/programs/develop/ktcc/trunk/bin/lib/libmelibc.a deleted file mode 100755 index 41005d3444..0000000000 Binary files a/programs/develop/ktcc/trunk/bin/lib/libmelibc.a and /dev/null differ diff --git a/programs/develop/ktcc/trunk/samples/Makefile b/programs/develop/ktcc/trunk/samples/Makefile index 3dce03ceb1..fdbaebe6cb 100755 --- a/programs/develop/ktcc/trunk/samples/Makefile +++ b/programs/develop/ktcc/trunk/samples/Makefile @@ -14,7 +14,7 @@ all: ../bin/kos32-tcc dir_example.c -lck -o dir_example.kex -I ../libc/include ../bin/kos32-tcc net/tcpsrv_demo.c -lck -o net/tcpsrv_demo.kex -I ../libc/include ../bin/kos32-tcc net/nslookup.c -lck -lnetwork -o net/nslookup.kex -I ../libc/include - ../bin/kos32-tcc getopt_ex.c -lck -o getopt_ex -I ../libc/include + ../bin/kos32-tcc getopt_ex.c -lck -o getopt_ex.kex -I ../libc/include clean: rm *.kex diff --git a/programs/develop/ktcc/trunk/samples/other/melibc_example/Makefile b/programs/develop/ktcc/trunk/samples/other/melibc_example/Makefile deleted file mode 100755 index 05047ff54a..0000000000 --- a/programs/develop/ktcc/trunk/samples/other/melibc_example/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -MENUETDEV = $(abspath ../../../../../libraries/menuetlibc) -all: - kos32-tcc -o hello.kex hello.c -lmelibc -I $(MENUETDEV)/include diff --git a/programs/develop/ktcc/trunk/samples/other/melibc_example/hello.c b/programs/develop/ktcc/trunk/samples/other/melibc_example/hello.c deleted file mode 100755 index e2c473807e..0000000000 --- a/programs/develop/ktcc/trunk/samples/other/melibc_example/hello.c +++ /dev/null @@ -1,32 +0,0 @@ -#include - -char title[] = "Menuetlibc in TinyC"; -char string[] = "Text"; - -void draw_window(void) -{ - // start redraw - __menuet__window_redraw(1); - // define&draw window - __menuet__define_window(10,40,300,150,0x33FFFFFF,0,(__u32)title); - // display string - __menuet__write_text(30,10,0x80000000,string,0); - // end redraw - __menuet__window_redraw(2); -} - -int main() -{ - draw_window(); - for (;;) - { - switch (__menuet__wait_for_event()) - { - case 1: - draw_window(); - break; - case 3: - return; - } - } -}