kolibrios-fun/programs/cmm/software_widget/Tupfile.lua
Kirill Lipatov (Leency) 495e05adb7 Software widget 2.0: now could be Game center and Control panel
git-svn-id: svn://kolibrios.org@5403 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-02-14 12:47:18 +00:00

7 lines
306 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("software_widget.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "software_widget.com")