7 lines
309 B
Lua
7 lines
309 B
Lua
|
if tup.getconfig("NO_GCC") ~= "" or tup.getconfig("NO_FASM") ~= "" then return end
|
||
|
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR")
|
||
|
tup.include(HELPERDIR .. "/use_gcc.lua")
|
||
|
tup.include(HELPERDIR .. "/use_newlib.lua")
|
||
|
compile_gcc{"main.c"}
|
||
|
link_gcc("binclock")
|