-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathmake_all.bat
More file actions
executable file
·44 lines (37 loc) · 846 Bytes
/
make_all.bat
File metadata and controls
executable file
·44 lines (37 loc) · 846 Bytes
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
@echo off
echo ===============================
echo Building normal version
echo ===============================
cd source
nmake /nologo %*
if errorlevel 1 goto error_exit
cd ..
echo ===============================
echo Building all version
echo ===============================
cd source_all
call :check_source
if errorlevel 1 goto error_exit
nmake /nologo %*
if errorlevel 1 goto error_exit
cd ..
echo ===============================
echo Building custom version
echo ===============================
cd source_custom
call :check_source
if errorlevel 1 goto error_exit
nmake /nologo %*
if errorlevel 1 goto error_exit
cd ..
exit /b
:check_source
if not exist Makefile (
echo Source files not found.
echo Run prepare_custom.bat in admin mode.
exit /b 1
)
exit /b 0
:error_exit
cd ..
exit /b 1