kolibrios/programs/games/21days/Tupfile.lua
igevorse 1e9f11eb8a '21 days' game: Tupfile.lua fixed
git-svn-id: svn://kolibrios.org@5300 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-12-30 22:27:16 +00:00

8 lines
343 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 .. " -D _KOS32 "
compile_gcc{"main.cpp", "game.cpp", "interface.cpp", "sys.cpp"}
link_gcc("21days")