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