kolibrios/programs/cmm/examples/Tupfile.lua
Kirill Lipatov (Leency) 30ae539a5e fix for prior rev
git-svn-id: svn://kolibrios.org@6051 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-01-10 20:04:33 +00:00

9 lines
498 B
Lua

if tup.getconfig("NO_CMM") ~= "" then return end
if tup.getconfig("LANG") == "ru"
then C_LANG = "LANG_RUS"
else C_LANG = "LANG_ENG" -- this includes default case without config
end
tup.rule("window.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "window.com")
tup.rule("collections.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "collections.com")
tup.rule("menu.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "menu.com")