Add Makefile to kos32-tcc sample programs

git-svn-id: svn://kolibrios.org@8282 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
maxcodehack 2020-11-30 07:38:09 +00:00
parent c92932964b
commit 3ffe214e13
2 changed files with 20 additions and 1 deletions

View File

@ -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

View File

@ -1,3 +1,3 @@
MENUETDEV = $(abspath ../../../../../libraries/menuetlibc) MENUETDEV = $(abspath ../../../../../libraries/menuetlibc)
all: 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