kolibrios/programs/other/tte/Tupfile.lua
maxcodehack 1469a8e53d Fix autobuild
git-svn-id: svn://kolibrios.org@8388 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 11:47:17 +00:00

11 lines
374 B
Lua
Executable File

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")