Windows Install.windows and nhsetup.bat updates

This commit is contained in:
nhmall
2024-02-10 12:39:49 -05:00
parent e2a3c98aac
commit cc7618438c
3 changed files with 163 additions and 202 deletions

View File

@@ -1,6 +1,6 @@
@REM NetHack 3.7 nhsetup.bat $NHDT-Date: 1596498315 2020/08/03 23:45:15 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.40 $ */
@REM Copyright (c) NetHack Development Team 1993-2022
@REM NetHack may be freely redistributed. See license for details.
@REM Copyright (c) NetHack Development Team 1993-2024
@REM NetHack may be freely redistributed. See license for details.
@REM Win32 setup batch file, see Install.windows for details
@REM
@echo off
@@ -35,16 +35,23 @@ REM Some file movemet for those that still want to use MAKE or NMAKE and a Makef
:do_tty
if NOT exist %BINPATH%\*.* mkdir %BINPATH%
if NOT exist %BINPATH%\license copy ..\..\dat\license %BINPATH%\license >nul
echo Copying Microsoft Makefile - Makefile.nmake to ..\..\src\Makefile...
if NOT exist ..\..\src\Makefile goto :donmake
echo Copying Microsoft Makefile - Makefile.nmake to ..\..\src\Makefile
if NOT exist ..\..\src\Makefile goto donenmake
copy ..\..\src\Makefile ..\..\src\Makefile-orig >nul
echo Your existing
echo ..\..\src\Makefile
echo has been renamed to
echo ..\..\src\Makefile-orig
:donmake
copy Makefile.nmake ..\..\src\Makefile >nul
echo Microsoft Makefile copied ok.
:donenmake
copy /Y Makefile.nmake ..\..\src\Makefile >nul
echo Microsoft nmake Makefile.nmake copy to ..\..\src\Makefile completed.
echo Copying mingw-w64 Makefile.mingw32 to ..\..\src\Makefile.mingw32
copy /Y Makefile.mingw32 ..\..\src\Makefile.mingw32 >nul
echo Copying mingw-w64 Makefile.mingw32.depend to ..\..\src\Makefile.mingw32.depend
copy /Y Makefile.mingw32.depend ..\..\src\Makefile.mingw32.depend >nul
echo mingw-w64 Makefile copies to ..\..\src completed.
echo Done copying files.
goto :done
@@ -57,7 +64,7 @@ goto :fini
:done
echo done!
echo.
echo Proceed with the next step documented in Install.windows
echo Proceed with the next step documented in Install.windows
echo.
:fini