build both tty NetHack.exe and gui NetHackW.exe
Changes to be committed: modified: include/config.h modified: include/extern.h modified: include/flag.h modified: include/global.h modified: include/ntconf.h modified: include/wintty.h modified: src/cmd.c modified: src/files.c modified: src/options.c modified: sys/share/pcmain.c modified: sys/share/pcsys.c modified: sys/share/pcunix.c modified: sys/winnt/Makefile.gcc modified: sys/winnt/Makefile.msc modified: sys/winnt/nttty.c new file: sys/winnt/stubs.c modified: sys/winnt/winnt.c modified: util/makedefs.c modified: win/tty/wintty.c Adjust the code and the command line Makefile so that you no longer have to choose whether to build the tty version NetHack.exe, or the gui version NetHackW.exe. Both will now be built in a single 'nmake install' pass.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.5 wintty.h $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$ */
|
||||
/* NetHack 3.5 wintty.h $NHDT-Date: 1429675543 2015/04/22 04:05:43 $ $NHDT-Branch: win32-x64-working $:$NHDT-Revision: 1.18 $ */
|
||||
/* NetHack 3.5 wintty.h $Date: 2012/01/23 10:45:26 $ $Revision: 1.12 $ */
|
||||
/* Copyright (c) David Cohrs, 1991,1992 */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -241,15 +241,15 @@ E int FDECL(term_putc, (int c));
|
||||
E int FDECL(term_flush, (void *desc));
|
||||
E int FDECL(term_puts, (const char *str));
|
||||
# endif /* MAC */
|
||||
# if defined(MSDOS) || defined(WIN32CON)
|
||||
# if defined(SCREEN_BIOS) || defined(SCREEN_DJGPPFAST) || defined(WIN32CON)
|
||||
# if defined(MSDOS) || defined(WIN32)
|
||||
# if defined(SCREEN_BIOS) || defined(SCREEN_DJGPPFAST) || defined(WIN32)
|
||||
# undef putchar
|
||||
# undef putc
|
||||
# undef puts
|
||||
# define putchar(x) xputc(x) /* these are in video.c, nttty.c */
|
||||
# define putc(x) xputc(x)
|
||||
# define puts(x) xputs(x)
|
||||
# endif/*SCREEN_BIOS || SCREEN_DJGPPFAST || WIN32CON */
|
||||
# endif/*SCREEN_BIOS || SCREEN_DJGPPFAST || WIN32 */
|
||||
# ifdef POSITIONBAR
|
||||
E void FDECL(video_update_positionbar, (char *));
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user