export PDCURSES_TOP=../lib/pdcurses
export
cd src
-cp ../sys/windows/Makefile.msc ./Makefile
+cp ../sys/windows/Makefile.nmake ./Makefile
nmake install
cd ..
powershell -Command "Compress-Archive -U -Path binary/* -DestinationPath $TRAVIS_TAG.x86.zip"
to
LUATOP = ../lib/lua-5.4.4
- In sys/windows/Makefile.msc
+ In sys/windows/Makefile.nmake
change from
PDCURSES_TOP = ..\submodules\pdcurses
to
For the Visual Studio compiler:
Issue these commands:
- copy ..\sys\windows\Makefile.msc Makefile
+ copy ..\sys\windows\Makefile.nmake Makefile
nmake install
For GCC:
-# NetHack 3.7 Makefile.msc
+# NetHack 3.7 Makefile.nmake
# Copyright (c) NetHack Development Team 1993-2022
#
#==============================================================================
@echo utilities made.
$(INCL)\nhlua.h:
- @echo /* nhlua.h - generated by Makefile from Makefile.msc */ > $@
+ @echo /* nhlua.h - generated by Makefile from Makefile.nmake */ > $@
@echo #include "lua.h" >> $@
@echo LUA_API int (lua_error) (lua_State *L) NORETURN; >> $@
@echo #include "lualib.h" >> $@
:do_tty
if NOT exist %BINPATH%\*.* mkdir %BINPATH%
if NOT exist %BINPATH%\license copy ..\..\dat\license %BINPATH%\license >nul
-echo Copying Microsoft Makefile - Makefile.msc to ..\..\src\Makefile...
-if NOT exist ..\..\src\Makefile goto :domsc
+echo Copying Microsoft Makefile - Makefile.nmake to ..\..\src\Makefile...
+if NOT exist ..\..\src\Makefile goto :donmake
copy ..\..\src\Makefile ..\..\src\Makefile-orig >nul
echo Your existing
echo ..\..\src\Makefile
echo has been renamed to
echo ..\..\src\Makefile-orig
-:domsc
-copy Makefile.msc ..\..\src\Makefile >nul
+:donmake
+copy Makefile.nmake ..\..\src\Makefile >nul
echo Microsoft Makefile copied ok.
echo Done copying files.