From 3ffe214e13c5c9ab1e8470f15ab372ff1649b526 Mon Sep 17 00:00:00 2001 From: maxcodehack Date: Mon, 30 Nov 2020 07:38:09 +0000 Subject: [PATCH] Add Makefile to kos32-tcc sample programs git-svn-id: svn://kolibrios.org@8282 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/ktcc/trunk/samples/Makefile | 19 +++++++++++++++++++ .../samples/other/melibc_example/Makefile | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100755 programs/develop/ktcc/trunk/samples/Makefile diff --git a/programs/develop/ktcc/trunk/samples/Makefile b/programs/develop/ktcc/trunk/samples/Makefile new file mode 100755 index 0000000000..f39c13990e --- /dev/null +++ b/programs/develop/ktcc/trunk/samples/Makefile @@ -0,0 +1,19 @@ +all: + kos32-tcc asm_ex.c -lck -o asm_ex.kex -I ../libc/include + kos32-tcc consoleio.c -lck -o consoleio.kex -I ../libc/include + kos32-tcc files.c -lck -o files.kex -I ../libc/include + kos32-tcc winbasics.c -lck -o winbasics.kex -I ../libc/include + kos32-tcc dynamic.c -lck -lhttp -linputbox -o dynamic.kex -I ../libc/include + kos32-tcc load_coff.c -o load_coff.kex -lck -I ../libc/include + kos32-tcc clayer/msgbox.c -lck -lmsgbox -o clayer/msgbox.kex -I ../libc/include + kos32-tcc graphics.c -lck -lgb -o graphics.kex -I ../libc/include + kos32-tcc clayer/rasterworks.c -lck -lrasterworks -o clayer/rasterworks.kex -I ../libc/include + kos32-tcc clayer/boxlib.c -lck -lbox -o clayer/boxlib.kex -I ../libc/include + kos32-tcc clayer/libimg.c -lck -limg -o clayer/libimg.kex -I ../libc/include + kos32-tcc console/console.c -lck -limg -o console/console.kex -I ../libc/include + kos32-tcc dir_example.c -lck -o dir_example.kex -I ../libc/include + +clean: + rm *.kex + rm clayer/*.kex + rm console/*.kex diff --git a/programs/develop/ktcc/trunk/samples/other/melibc_example/Makefile b/programs/develop/ktcc/trunk/samples/other/melibc_example/Makefile index 6f0a09bbc9..05047ff54a 100755 --- a/programs/develop/ktcc/trunk/samples/other/melibc_example/Makefile +++ b/programs/develop/ktcc/trunk/samples/other/melibc_example/Makefile @@ -1,3 +1,3 @@ MENUETDEV = $(abspath ../../../../../libraries/menuetlibc) all: - wine kos32-tcc.exe -o hello.kex hello.c -lmelibc -I $(MENUETDEV)/include + kos32-tcc -o hello.kex hello.c -lmelibc -I $(MENUETDEV)/include