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")
|
2014-12-30 23:32:23 +01:00
|
|
|
CFLAGS = CFLAGS .. " -Wno-write-strings -D _KOS32 "
|
2014-12-30 23:24:30 +01:00
|
|
|
compile_gcc{"main.cpp", "game.cpp", "interface.cpp", "sys.cpp"}
|
|
|
|
link_gcc("21days")
|