another nhsetup.bat tweak
This commit is contained in:
@@ -26,6 +26,7 @@ if not exist ..\..\src\hack.c goto :err_dir
|
|||||||
if not exist ..\..\dat\wizard1.lua goto :err_dir
|
if not exist ..\..\dat\wizard1.lua goto :err_dir
|
||||||
if not exist ..\..\util\makedefs.c goto :err_dir
|
if not exist ..\..\util\makedefs.c goto :err_dir
|
||||||
if not exist ..\..\sys\windows\windsys.c goto :err_dir
|
if not exist ..\..\sys\windows\windsys.c goto :err_dir
|
||||||
|
if not exist ..\..\win\win32\mhmain.c goto :err_dir
|
||||||
echo Directories look ok.
|
echo Directories look ok.
|
||||||
|
|
||||||
:movemakes
|
:movemakes
|
||||||
@@ -57,13 +58,7 @@ copy Makefile.gcc ..\..\src\Makefile.gcc >nul
|
|||||||
echo MinGW Makefile copied ok.
|
echo MinGW Makefile copied ok.
|
||||||
|
|
||||||
echo Done copying files.
|
echo Done copying files.
|
||||||
|
goto :done
|
||||||
:err_win
|
|
||||||
echo Some of the files needed to build graphical NetHack
|
|
||||||
echo for Windows are not in the expected places.
|
|
||||||
echo Check "Install.windows" for a list of the steps required
|
|
||||||
echo to build NetHack.
|
|
||||||
goto :fini
|
|
||||||
|
|
||||||
:err_dir
|
:err_dir
|
||||||
echo Your directories are not set up properly, please re-read the
|
echo Your directories are not set up properly, please re-read the
|
||||||
|
|||||||
Reference in New Issue
Block a user