forked from KolibriOS/kolibrios
7 lines
300 B
Lua
7 lines
300 B
Lua
if tup.getconfig("NO_CMM") ~= "" then return end
|
|
if tup.getconfig("LANG") == "ru_RU"
|
|
then C_LANG = "LANG_RUS"
|
|
else C_LANG = "LANG_ENG" -- this includes default case without config
|
|
end
|
|
tup.foreach_rule("*.c", "c-- /D=AUTOBUILD /D=$(C_LANG) /OPATH=%o %f" .. tup.getconfig("KPACK_CMD"), "%B.com")
|