diff --git a/programs/games/fara/trunk/Tupfile.lua b/programs/games/fara/trunk/Tupfile.lua index aa977800ab..7db57f3a5c 100644 --- a/programs/games/fara/trunk/Tupfile.lua +++ b/programs/games/fara/trunk/Tupfile.lua @@ -1,6 +1,10 @@ if tup.getconfig("NO_FASM") ~= "" or tup.getconfig("NO_MSVC") ~= "" then return end HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR") tup.include(HELPERDIR .. "/use_msvc.lua") +if tup.getconfig("LANG") == "ru" +then CFLAGS = CFLAGS .. " /DLANG=RUS" +else CFLAGS = CFLAGS .. " /DLANG=ENG" +end tup.append_table(OBJS, tup.foreach_rule("memcmp.asm", "fasm %f %o", "%B.obj") ) diff --git a/programs/games/fara/trunk/lang.h b/programs/games/fara/trunk/lang.h index ef15793f1a..63b5067569 100644 --- a/programs/games/fara/trunk/lang.h +++ b/programs/games/fara/trunk/lang.h @@ -1,3 +1,5 @@ #define RUS 1 #define ENG 2 -#define LANG RUS \ No newline at end of file +#ifndef LANG +#define LANG RUS +#endif