forked from KolibriOS/kolibrios
notes: code clean
cmm: update build.bat files to use /D=LANG_XXX instead of creating lang.h-- git-svn-id: svn://kolibrios.org@8954 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -3,4 +3,4 @@ if tup.getconfig("LANG") == "ru"
|
||||
then C_LANG = "LANG_RUS"
|
||||
else C_LANG = "LANG_ENG" -- this includes default case without config
|
||||
end
|
||||
tup.rule("pixie.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "pixie.com")
|
||||
tup.rule("pixie.c", "c-- /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "pixie.com")
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
@del lang.h--
|
||||
@echo #define LANG_ENG 1 >lang.h--
|
||||
|
||||
@C-- pixie.c
|
||||
@C-- /D=LANG_ENG pixie.c
|
||||
@del pixie
|
||||
@kpack pixie.com
|
||||
@rename pixie.com pixie
|
||||
@del warning.txt
|
||||
@del lang.h--
|
||||
@pause
|
||||
Reference in New Issue
Block a user