kolibrios/programs/develop/tinybasic-1.0.4/Tupfile.lua
turbocat aa8c354057 TinyBasic 1.0.4 : uses auto import(KX).
git-svn-id: svn://kolibrios.org@9649 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-18 17:24:09 +00:00

26 lines
502 B
Lua

if tup.getconfig("NO_TCC") ~= "" then return end
if tup.getconfig("HELPERDIR") == ""
then
HELPERDIR = "../../../programs"
end
tup.include(HELPERDIR .. "/use_tcc.lua")
CFLAGS = CFLAGS .. " -Iinc "
SRCS = {
"src/common.c",
"src/errors.c",
"src/expression.c",
"src/formatter.c",
"src/generatec.c",
"src/interpret.c",
"src/options.c",
"src/parser.c",
"src/statement.c",
"src/tinybasic.c",
"src/token.c",
"src/tokeniser.c"
}
link_tcc(SRCS, "tinybasic");