/programs/games/reversi/trunk/Tupfile.lua |
---|
0,0 → 1,6 |
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") |
/programs/games/reversi/trunk/reversi.c |
---|
645,3 → 645,6 |
} |
} |
/* We use LIBC only for strcpy/itoa, so we don't need CRT startup code */ |
int __bss_count; |
void __crt1_startup() { main(); } |