- Added TinyBasic to autobuild

git-svn-id: svn://kolibrios.org@8471 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
superturbocat2001 2020-12-24 21:00:00 +00:00
parent 3090de9100
commit 4cc800cdfc
4 changed files with 12 additions and 1541 deletions

View File

@ -191,7 +191,6 @@ extra_files = {
{"kolibrios/develop/tcc/samples/clayer/", PROGS .. "/develop/ktcc/trunk/samples/clayer/*"},
{"kolibrios/develop/tcc/samples/net/", PROGS .. "/develop/ktcc/trunk/samples/net/*"},
{"kolibrios/develop/tcc/samples/tinygl/", PROGS .. "/develop/ktcc/trunk/samples/tinygl/*"},
{"kolibrios/develop/TinyBasic/", "common/develop/TinyBasic/*"},
{"kolibrios/emul/", "common/emul/*"},
{"kolibrios/emul/dosbox/", "common/emul/DosBox/*"},
{"kolibrios/emul/e80/readme.txt", PROGS .. "/emulator/e80/trunk/readme.txt"},
@ -686,6 +685,8 @@ end -- tup.getconfig('NO_MSVC') ~= 'full'
if tup.getconfig('NO_TCC') ~= 'full' then
tup.append_table(extra_files, {
{"kolibrios/utils/thashview", PROGS .. "/other/TinyHashView/thashview"},
{"kolibrios/develop/TinyBasic/", PROGS .. "/develop/tinybasic/TinyBasic"},
{"kolibrios/develop/TinyBasic/", PROGS .. "/develop/tinybasic/TBuserMan.txt"},
})
end -- tup.getconfig('NO_TCC') ~= 'full'

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,10 @@
if tup.getconfig("NO_TCC") ~= "" then return end
TCC="kos32-tcc"
CFLAGS = "-I../ktcc/trunk/libc/include"
LDFLAGS = "-nostdlib ../ktcc/trunk/bin/lib/start.o -L../ktcc/trunk/bin/lib"
LIBS = "-lck"
COMMAND=string.format("%s %s %s %s %s ", TCC, CFLAGS, "%f -o %o", LDFLAGS, LIBS)
tup.rule("TinyBasic.c", COMMAND .. tup.getconfig("KPACK_CMD"), "TinyBasic")