forked from KolibriOS/kolibrios
aa8c354057
git-svn-id: svn://kolibrios.org@9649 a494cfbc-eb01-0410-851d-a64ba20cac60
26 lines
502 B
Lua
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");
|