/programs/cmm/downloader/Tupfile.lua |
---|
0,0 → 1,6 |
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("dl.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "dl.com") |
/programs/cmm/downloader/compile_en.bat |
---|
0,0 → 1,10 |
@del lang.h-- |
@echo #define LANG_ENG 1 >lang.h-- |
@c-- dl.c |
@del dl |
@rename dl.com dl |
@del warning.txt |
@del lang.h-- |
if not exist dl ( @pause ) |