2014-12-11 23:14:23 +03:00
|
|
|
if tup.getconfig('NO_GCC') ~= "" then return end
|
2014-12-14 20:05:58 +03:00
|
|
|
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR")
|
2014-12-11 23:14:23 +03:00
|
|
|
tup.include(HELPERDIR .. "/use_gcc.lua")
|
|
|
|
tup.include(HELPERDIR .. "/use_menuetlibc.lua")
|
2014-12-16 01:59:51 +03:00
|
|
|
compile_gcc{"main.c", "defines.c", "rect.c", "paint.c", "cell.c", "config.c", "board.c", "game.c"}
|
2014-12-11 23:14:23 +03:00
|
|
|
link_gcc("2048")
|