update Windows Makefiles to support TRAVIS CI builds

This commit is contained in:
nhmall
2019-11-06 17:25:44 +02:00
committed by Pasi Kallinen
parent de44286d79
commit 0c7e740b44
3 changed files with 58 additions and 36 deletions
+5 -6
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.
@@ -379,6 +379,7 @@ TSRC = $(SRC:\=/)
cc=cl
cpp=cpp
link=link
rc=Rc
@@ -596,7 +597,7 @@ DLB =
@$(cc) $(cflagsBuild) -Fo$@ $<
{$(SSYS)}.cpp{$(OBJ)}.o:
@$(CC) $(cflagsBuild) /EHsc -Fo$@ $<
@$(cc) $(cflagsBuild) /EHsc -Fo$@ $<
#==========================================
# Rules for files in sys\winnt
@@ -648,8 +649,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 $< $@
@@ -852,7 +852,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:\=/)