]> granicus.if.org Git - nethack/commit
win32 updates (from <Someone>)
authornethack.allison <nethack.allison>
Mon, 9 Dec 2002 03:12:47 +0000 (03:12 +0000)
committernethack.allison <nethack.allison>
Mon, 9 Dec 2002 03:12:47 +0000 (03:12 +0000)
commitbea789ea2d84bf5c9a69c7055c0fd79570259972
tree882a87110cf1219fae49818bfa6408bf8f9ad67d
parent7f50893e136d75a4cedeb3a5f82f65d24c2fc0f5
win32 updates (from <Someone>)

- restructured Install.nt quite a bit. It now contains instructions
to build a graphical nethack using NMAKE, too. I merged
the instructions for command line builds, and separated the IDE
build; that made more sense to me. It is shorter, too.
- added some lines to all Makefiles so they now build
NetHackW.exe when GRAPHICAL is "Y", and NetHack.exe
otherwise. I espacially did not test this on Borland.
Previously, the makefiles would always build NetHack.exe.
- changed the IDE files to build NetHackW.exe instead of
nethackw.exe. This is only cosmetic, but consistent with the
other executable.
- made a small change to pcmain.c, as the MinGW linker
cannot decide between main() and WinMain() when both are
present, as explained in <Someone>'s original
message. (I used a #ifndef instead of comments ;-)
The MinGW graphical build indeed seems to work.
sys/share/pcmain.c
sys/winnt/Install.nt
sys/winnt/Makefile.bcc
sys/winnt/Makefile.gcc
sys/winnt/Makefile.msc
win/win32/nethack.dsw
win/win32/nethackw.dsp