-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmake.bat
60 lines (48 loc) · 1.01 KB
/
make.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
@echo off
IF "%~1"=="" GOTO make_default
IF "%~1"=="resource" GOTO compile_resource
IF "%~1"=="fast" GOTO make_fast
IF "%~1"=="debug" GOTO make_debug
IF "%~1"=="c" GOTO make_c_default
IF "%~1"=="cfast" GOTO make_c_fast
IF "%~1"=="cdebug" GOTO make_c_debug
IF "%~1"=="legacy32" GOTO make_legacy_32
GOTO undefined_command
:compile_resource
cmd /c "%cd%/scripts/resource.bat"
GOTO close
rem V area
:make_debug
cmd /c "%cd%/scripts/debug.bat"
exit
:make_fast
cmd /c "%cd%/scripts/fast.bat"
GOTO close
:make_default
cmd /c "%cd%/scripts/resource.bat"
cmd /c "%cd%/scripts/default.bat"
GOTO close
rem C area
:make_c_default
cmd /c "%cd%/scripts/resource.bat"
cmd /c "%cd%/scripts/default.c.bat"
GOTO close
:make_c_fast
cmd /c "%cd%/scripts/default.c.bat"
GOTO close
:make_c_debug
cmd /c "%cd%/scripts/debug.c.bat"
GOTO close
rem C area (for Windows 2000)
:make_legacy_32
cmd /c "%cd%/scripts/legacy32.c.bat"
GOTO close
:undefined_command
echo Your command was undefined!
pause
GOTO quit
:close
echo Finished!
pause
GOTO quit
:quit