fix a build error when curses is NOT enabled

Fix an error when curses build macros are not defined
makefile(1262) : fatal error U1083: target macro '$(PDCLIB)' expands to nothing
This commit is contained in:
nhmall
2018-11-18 08:34:24 -05:00
parent 1b36af5d8a
commit 60c3c2f113
+3 -3
View File
@@ -73,8 +73,8 @@ DEBUGINFO = Y
# PDCurses header (.h) files and PDCURSES_C to the location # PDCurses header (.h) files and PDCURSES_C to the location
# of your PDCurses C files. # of your PDCurses C files.
# #
ADD_CURSES=Y #ADD_CURSES=Y
PDCURSES_TOP=..\..\pdcurses #PDCURSES_TOP=..\..\pdcurses
# #
#============================================================================== #==============================================================================
# This marks the end of the BUILD DECISIONS section. # This marks the end of the BUILD DECISIONS section.
@@ -1261,7 +1261,7 @@ $(O)til2bm32.o: $(WSHR)\tile2bmp.c $(HACK_H) $(TILE_H) $(MSWSYS)\win32api.h
# PDCurses # PDCurses
#========================================== #==========================================
$(PDCLIB) : $(PDCLIBOBJS) $(PDCOBJS) $(O)\pdcurses.lib : $(PDCLIBOBJS) $(PDCOBJS)
lib -nologo /out:$@ $(PDCLIBOBJS) $(PDCOBJS) lib -nologo /out:$@ $(PDCLIBOBJS) $(PDCOBJS)
#========================================== #==========================================