7 lines
281 B
Lua
7 lines
281 B
Lua
|
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{"reversi.c"}
|
||
|
link_gcc("reversi")
|