DEADSOFTWARE

Game: Get rid of "rulez", "kastet" and "pulemet" in resource names
[DF-Res.git] / make.cmd
1 @echo off
2 cd /d %~dp0
3 set PATH=%PATH%;%CD%
4 call :treeProcess
5 goto :done
7 :treeProcess
8 for /D %%d in (*) do (
9 cd %%d
10 call :treeProcess
11 cd ..
12 )
13 for %%i in (*.lst) do (
14 if exist %%i (
15 echo [*] Building %%~ni.wad ...
16 echo.
17 dfwad.exe %%i %%~ni.wad -i
18 echo.
19 )
20 IF ERRORLEVEL 1 (
21 exit /b
22 )
23 )
24 exit /b
25 :done
26 IF NOT ERRORLEVEL 1 (
27 echo [*] Build All done.
28 echo.
29 )