-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Make_All.bat
38 lines (26 loc) · 1012 Bytes
/
Make_All.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
@echo off
set PS3DEV=./ps3dev
set PS3SDK=/c/PSDK3v2
set WIN_PS3SDK=C:/PSDK3v2
set PATH=%WIN_PS3SDK%/mingw/msys/1.0/bin;%WIN_PS3SDK%/mingw/bin;%PS3DEV%/ppu/bin;
rem %PATH%;
if exist mamba\lz\*.lz.bin del mamba\lz\*.lz.bin>nul
if exist mamba\lz rmdir mamba\lz
if exist mamba\debug\*.bin del mamba\debug\*.bin>nul
if exist mamba\debug rmdir mamba\debug
if exist mamba\*.bin del mamba\*.bin>nul
if exist mamba rmdir mamba
if exist *.bin del /q *.bin>nul
if not exist mamba mkdir mamba
if not exist mamba\lz mkdir mamba\lz
if not exist mamba\debug mkdir mamba\debug
make clean --no-print-directory
rem make all --no-print-directory
make release --no-print-directory
rem make debug --no-print-directory
if not exist mamba\debug\mamba_490C.lz.bin rd mamba\lz>nul
if not exist mamba\debug\mamba_490C.bin rd mamba\debug>nul
FOR /F "usebackq" %%A IN ('"mamba\mamba_490C.bin"') DO set SIZE=%%~zA
SET SIZE=%SIZE:~0,3%,%SIZE:~3%
echo mamba_490C.bin is %SIZE% bytes
pause