Rev 5229 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5229 | Rev 5231 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | if tup.getconfig('NO_GCC') ~= "" then return end |
1 | if tup.getconfig('NO_GCC') ~= "" then return end |
2 | HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR") |
2 | HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR") |
3 | tup.include(HELPERDIR .. "/use_gcc.lua") |
3 | tup.include(HELPERDIR .. "/use_gcc.lua") |
4 | tup.include(HELPERDIR .. "/use_menuetlibc.lua") |
4 | tup.include(HELPERDIR .. "/use_menuetlibc.lua") |
5 | compile_gcc{"main.c" "defines.c" "rect.c" "cell.c" "board.c" "game.c"} |
5 | compile_gcc{"main.c", "defines.c", "rect.c", "paint.c", "cell.c", "board.c", "game.c"} |
6 | link_gcc("2048") |
6 | link_gcc("2048") |