- Added TinyBasic to autobuild
git-svn-id: svn://kolibrios.org@8471 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
3090de9100
commit
4cc800cdfc
@ -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'
|
||||
|
||||
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
10
programs/develop/tinybasic/Tupfile.lua
Normal file
10
programs/develop/tinybasic/Tupfile.lua
Normal 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")
|
Loading…
Reference in New Issue
Block a user