kolibrios/programs/develop/libraries/menuetlibc_example/Tupfile.lua

7 lines
279 B
Lua
Raw Normal View History

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_menuetlibc.lua")
compile_gcc{"main.c"}
link_gcc("binclock")