/programs/cmm/the_bus/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("the_bus.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "the_bus.com") |
tup.rule("the_bus.c", "c-- /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "the_bus.com") |
/programs/cmm/the_bus/compile_en.bat |
---|
1,10 → 1,5 |
@del lang.h-- |
@echo #define LANG_ENG 1 >lang.h-- |
@del the_bus |
@cls |
@c-- the_bus.c |
@c-- /D=LANG_ENG the_bus.c |
@pause |
@rename the_bus.com the_bus |
@del warning.txt |
@del lang.h-- |
/programs/cmm/the_bus/compile_ru.bat |
---|
1,10 → 1,5 |
@del lang.h-- |
@echo #define LANG_RUS 1 >lang.h-- |
@del the_bus |
@cls |
@c-- the_bus.c |
@c-- /D=LANG_RUS the_bus.c |
@pause |
@rename the_bus.com the_bus |
@del warning.txt |
@del lang.h-- |