forked from KolibriOS/kolibrios
fara: language-specific compilation
git-svn-id: svn://kolibrios.org@5112 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
c98f34b54d
commit
3d5d459cb9
@ -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")
|
||||
)
|
||||
|
@ -1,3 +1,5 @@
|
||||
#define RUS 1
|
||||
#define ENG 2
|
||||
#define LANG RUS
|
||||
#ifndef LANG
|
||||
#define LANG RUS
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user