Add tte to autobuild

git-svn-id: svn://kolibrios.org@8387 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
maxcodehack 2020-12-13 11:46:08 +00:00
parent 5689be824b
commit 9df944e105

10
programs/other/tte/Tupfile.lua Executable file
View File

@ -0,0 +1,10 @@
if tup.getconfig("NO_GCC") ~= "" then return end
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR")
tup.include(HELPERDIR .. "/use_gcc.lua")
tup.include(HELPERDIR .. "/use_newlib.lua")
CFLAGS = CFLAGS .. " -DGCC_BUILD"
LDFLAGS = LDFLAGS .. " --subsystem native"
compile_gcc{"tte.c", "notify.c", "getline.c"}
link_gcc("tte")