make-wintest.cmd points at a wrong Makefile
New make-wintest.cmd needed.
Example, which contains basic checks for the environment:
@echo off SETLOCAL REM Dumb test to check relevant files for compiling are in path call :CheckPaths if not errorlevel 0 goto :EOF REM Expecting directory ..\DLL to contain SDL.dll call :CheckFile ..\dll\SDL.dll if not errorlevel 0 goto :EOF
set /p VER=<Version set ZIPNAME=cheesecutter-%VER%-win32.zip set ZIPDLLNAME=cheesecutter-%VER%-dlls-win32.zip if exist %ZIPNAME% del %ZIPNAME% if exist %ZIPDLLNAME% del %ZIPDLLNAME% make -f Makefile.mingw clean all if not errorlevel 0 goto :EOF
strip ccutter.exe strip ct2util.exe
zip %ZIPNAME% ccutter.exe ct2util.exe README.md tunes*.* zip %ZIPDLLNAME% ccutter.exe ct2util.exe README.md tunes*.* zip -j %ZIPDLLNAME% ..\dll*.* set ZIPNAME= set ZIPDLLNAME= set VER= goto :EOF
:CheckPaths set ERR=0 for %%F in (gdc.exe, acme.exe, g++.exe, make.exe, strip.exe, zip.exe) do ( rem Vista or newer. where %%F > NUL 2> NUL if ERRORLEVEL 1 ( echo ERROR: Required file %%F not in path. set ERR=1 ) ) exit /b %ERR%
:CheckFile if not exist %1 ( echo ERROR: File %1 missing! goto :EOF )
:EOF ENDLOCAL