2014-12-30 23:24:30 +01:00
|
|
|
if tup.getconfig("NO_GCC") ~= "" then return end
|
2014-12-30 23:27:16 +01:00
|
|
|
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR")
|
2014-12-30 23:24:30 +01:00
|
|
|
tup.include(HELPERDIR .. "/use_gcc.lua")
|
|
|
|
tup.include(HELPERDIR .. "/use_menuetlibc.lua")
|
|
|
|
CFLAGS = CFLAGS .. " -D _KOS32 "
|
|
|
|
compile_gcc{"main.cpp", "game.cpp", "interface.cpp", "sys.cpp"}
|
|
|
|
link_gcc("21days")
|