From ace3d39af4dd8afbe06a0478b68c61c422b8f549 Mon Sep 17 00:00:00 2001 From: CleverMouse Date: Mon, 15 Sep 2014 09:45:19 +0000 Subject: [PATCH] add forgotten file git-svn-id: svn://kolibrios.org@5124 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/games/checkers/trunk/Tupfile.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 programs/games/checkers/trunk/Tupfile.lua diff --git a/programs/games/checkers/trunk/Tupfile.lua b/programs/games/checkers/trunk/Tupfile.lua new file mode 100644 index 0000000000..e8e57aae7f --- /dev/null +++ b/programs/games/checkers/trunk/Tupfile.lua @@ -0,0 +1,13 @@ +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") + +if tup.getconfig("LANG") == "ru" +then C_LANG = "LANG_RUS" +else C_LANG = "LANG_ENG" -- this includes default case without config +end +CFLAGS = CFLAGS .. " -D_KOLIBRI -DAUTOBUILD -D" .. C_LANG .. " -DNO_FILES -fwhole-program" + +compile_gcc{"checkers.cpp"} +link_gcc("checkers")