02ccb0c644
git-svn-id: svn://kolibrios.org@5301 a494cfbc-eb01-0410-851d-a64ba20cac60
8 lines
362 B
Lua
Executable File
8 lines
362 B
Lua
Executable File
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")
|
|
CFLAGS = CFLAGS .. " -Wno-write-strings -D _KOS32 "
|
|
compile_gcc{"main.cpp", "game.cpp", "interface.cpp", "sys.cpp"}
|
|
link_gcc("21days")
|