/programs/cmm/app_plus/Tupfile.lua |
---|
3,4 → 3,4 |
then C_LANG = "LANG_RUS" |
else C_LANG = "LANG_ENG" -- this includes default case without config |
end |
tup.rule("app_plus.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "app_plus.com") |
tup.rule("app_plus.c", "c-- /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "app_plus.com") |
/programs/cmm/app_plus/app_plus.c |
---|
8,10 → 8,6 |
#include "..\lib\patterns\restart_process.h" |
#include "added_sysdir.c" |
#ifndef AUTOBUILD |
#include "lang.h--" |
#endif |
//===================================================// |
// // |
// DATA // |
/programs/cmm/app_plus/compile_en.bat |
---|
1,10 → 1,6 |
@del lang.h-- |
@echo #define LANG_ENG 1 >lang.h-- |
@del app_plus |
cls |
@c-- app_plus.c |
@rename app_plus.com app_plus |
@c-- /D=LANG=ENG app_plus.c |
@del *. |
@rename *.com *. |
@del warning.txt |
@del lang.h-- |
@pause |
/programs/cmm/app_plus/compile_ru.bat |
---|
1,10 → 1,5 |
@del lang.h-- |
@echo #define LANG_RUS 1 >lang.h-- |
@del app_plus |
cls |
@c-- app_plus.c |
@rename app_plus.com app_plus |
@c-- /D=LANG=RUS app_plus.c |
@del *. |
@rename *.com *. |
@del warning.txt |
@del lang.h-- |
@pause |