add forgotten files

git-svn-id: svn://kolibrios.org@8279 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2020-11-29 19:10:47 +00:00
parent 894aad564d
commit 53ddecef5a
2 changed files with 16 additions and 0 deletions

View File

@ -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")

View File

@ -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 )