-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCompile_MiniGUI.bat
43 lines (29 loc) · 2.01 KB
/
Compile_MiniGUI.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
if "%MG_ROOT%"=="" set MG_ROOT=%~d0\minigui
title mpt_hmg
call del.bat
copy mpt_ver2._ch mpt_ver.ch
copy mpt_hmg2._rc mpt_hmg.rc
call %MG_ROOT%\batch\compile.bat mpt_hmg /ro
call %MG_ROOT%\batch\compile.bat mpt_hmg /nl %1 %2 %3 %4 %5 %6 %7 %8 %9
call %MG_ROOT%\batch\compile.bat ctklib /nl %1 %2 %3 %4 %5 %6 %7 %8 %9
call %MG_ROOT%\batch\compile.bat MakeMultiplicationTable /nl %1 %2 %3 %4 %5 %6 %7 %8 %9
call %MG_ROOT%\batch\compile.bat MakeNavigation /nl %1 %2 %3 %4 %5 %6 %7 %8 %9
call %MG_ROOT%\batch\compile.bat DeleteMultiplicationTable /nl %1 %2 %3 %4 %5 %6 %7 %8 %9
call %MG_ROOT%\batch\compile.bat About /nl %1 %2 %3 %4 %5 %6 %7 %8 %9
call %MG_ROOT%\batch\compile.bat EndTheProgram /nl %1 %2 %3 %4 %5 %6 %7 %8 %9
call %MG_ROOT%\batch\compile.bat Show_TitleBar /nl %1 %2 %3 %4 %5 %6 %7 %8 %9
call %MG_ROOT%\batch\compile.bat mpt_hmg /lo /b ctklib /b MakeMultiplicationTable /b MakeNavigation /b DeleteMultiplicationTable /b About /b EndTheProgram /b Show_TitleBar /r mpt_hmg /nx %1 %2 %3 %4 %5 %6 %7 %8 %9
call %MG_ROOT%\batch\compile.bat mpt_hmg /do %1 %2 %3 %4 %5 %6 %7 %8 %9
call %MG_ROOT%\batch\compile.bat ctklib /do %1 %2 %3 %4 %5 %6 %7 %8 %9
call %MG_ROOT%\batch\compile.bat MakeMultiplicationTable /do %1 %2 %3 %4 %5 %6 %7 %8 %9
call %MG_ROOT%\batch\compile.bat MakeNavigation /do %1 %2 %3 %4 %5 %6 %7 %8 %9
call %MG_ROOT%\batch\compile.bat DeleteMultiplicationTable /do %1 %2 %3 %4 %5 %6 %7 %8 %9
call %MG_ROOT%\batch\compile.bat About /do %1 %2 %3 %4 %5 %6 %7 %8 %9
call %MG_ROOT%\batch\compile.bat EndTheProgram /do %1 %2 %3 %4 %5 %6 %7 %8 %9
call %MG_ROOT%\batch\compile.bat Show_TitleBar /do %1 %2 %3 %4 %5 %6 %7 %8 %9
IF NOT EXIST mpt_hmg.exe goto :END
IF NOT EXIST %~d0\upx-win32\upx.exe goto :END
IF EXIST %~d0\upx-win32\upx.exe %~d0\upx-win32\upx.exe -9 -q mpt_hmg.exe -o mpt.exe
IF EXIST mpt.exe DEL mpt_hmg.exe
:END
title OK