kolibrios-gitea/programs/games/flood-it/trunk/Tupfile.lua
Ivan Baravy 66816d7a7e More language code fixes
I commit in several commits to check autobuild
2024-06-02 04:51:22 +01:00

7 lines
305 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.rule("flood-it.c", "c-- /D=AUTOBUILD /D=$(C_LANG) /OPATH=%o %f" .. tup.getconfig("KPACK_CMD"), "flood-it.com")