/programs/cmm/barscfg/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("barscfg.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "barscfg.com") |
tup.rule("barscfg.c", "c-- /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "barscfg.com") |
/programs/cmm/barscfg/barscfg.c |
---|
1,7 → 1,3 |
#ifndef AUTOBUILD |
#include "lang.h--" |
#endif |
#define MEMSIZE 0x23E80 |
#include "..\lib\kolibri.h" |
#include "..\lib\strings.h" |
/programs/cmm/barscfg/compile_en.bat |
---|
1,11 → 1,6 |
@del lang.h-- |
@echo #define LANG_ENG 1 >lang.h-- |
@c-- /D=LANG_ENG barscfg.c |
@pause |
@del barscfg |
cls |
@c-- barscfg.c |
@pause |
@echo off |
@rename barscfg.com barscfg |
@rename *.com *. |
@del warning.txt |
@del lang.h-- |
/programs/cmm/barscfg/compile_ru.bat |
---|
1,10 → 1,6 |
@del lang.h-- |
@echo #define LANG_RUS 1 >lang.h-- |
@c-- /D=LANG_RUS barscfg.c |
@pause |
@del barscfg |
cls |
@c-- barscfg.c |
@pause |
@rename barscfg.com barscfg |
@rename *.com *. |
@del warning.txt |
@del lang.h-- |