update Windows Makefiles to support TRAVIS CI builds

This commit is contained in:
nhmall
2019-06-30 01:09:41 -04:00
parent 8d0edeb4ff
commit 51f2d610e2
3 changed files with 58 additions and 36 deletions

View File

@@ -72,8 +72,8 @@ DEBUGINFO = Y
# PDCurses header (.h) files and PDCURSES_C to the location
# of your PDCurses C files.
#
#ADD_CURSES=Y
#PDCURSES_TOP=..\..\pdcurses
ADD_CURSES=Y
PDCURSES_TOP=..\..\pdcurses
#
#==============================================================================
# This marks the end of the BUILD DECISIONS section.
@@ -365,6 +365,7 @@ DATABASE = $(DAT)\data.base
#==========================================
cc=cl
cpp=cpp
link=link
rc=Rc
@@ -582,7 +583,7 @@ DLB =
@$(cc) $(cflagsBuild) -Fo$@ $<
{$(SSYS)}.cpp{$(OBJ)}.o:
@$(CC) $(cflagsBuild) /EHsc -Fo$@ $<
@$(cc) $(cflagsBuild) /EHsc -Fo$@ $<
#==========================================
# Rules for files in sys\winnt
@@ -634,8 +635,7 @@ DLB =
#==========================================
{$(WCURSES)}.c{$(OBJ)}.o:
@$(cc) -DPDC_NCMOUSE -DCURSES_DEFINE_ERASE_CHAR \
$(PDCINCL) $(cflagsBuild) -Fo$@ $<
@$(cc) -DPDC_NCMOUSE $(PDCINCL) $(cflagsBuild) -Fo$@ $<
#{$(WCURSES)}.txt{$(DAT)}.txt:
# @copy $< $@
@@ -838,7 +838,6 @@ $(GAMEDIR)\NetHackW.exe : $(O)gamedir.tag $(O)tile.o $(O)ttystub.o \
$(O)ttystub.o
$(O)NetHackW.res
<<
@if exist $(O)install.tag del $(O)install.tag
$(O)gamedir.tag:
@if not exist $(GAMEDIR)\*.* echo creating directory $(GAMEDIR:\=/)