Add win32 port help support.

This commit is contained in:
nethack.allison
2002-03-10 22:30:47 +00:00
parent 2960dc93c0
commit 6f210425b1
8 changed files with 80 additions and 57 deletions
+9 -3
View File
@@ -405,10 +405,11 @@ VVOBJ = $(O)version.o
ALLOBJ = $(WINPOBJ) $(SOBJ) $(DLBOBJ) $(TTYOBJ) $(WOBJ) $(OBJS) $(VVOBJ)
ifeq "$(GRAPHICAL)" "Y"
OPTIONS_FILE = $(DAT)\guioptions
OPTIONS_FILE = $(DAT)/guioptions
else
OPTIONS_FILE = $(DAT)\ttyoptions
OPTIONS_FILE = $(DAT)/ttyoptions
endif
#==========================================
# Header file macros
#==========================================
@@ -452,6 +453,7 @@ DATABASE = $(DAT)/data.base
GAMEFILE = $(GAMEDIR)/$(GAME).exe
#==========================================
#=============== TARGETS ==================
#==========================================
@@ -833,9 +835,12 @@ $(O)dlb.o: $(O)dlb_main.o $(O)alloc.o $(O)panic.o $(INCL)/dlb.h
$(O)dlb_main.o: $(UTIL)/dlb_main.c $(INCL)/config.h $(INCL)/dlb.h
@$(cc) $(CFLAGS) -o$@ $(UTIL)/dlb_main.c
$(DAT)/porthelp: $(NTSYS)/porthelp
$(subst /,\,@copy $(NTSYS)/porthelp $@ >nul)
nhdat: $(U)dlb_main.exe $(DAT)/data $(DAT)/oracles $(OPTIONS_FILE) \
$(DAT)/quest.dat $(DAT)/rumors $(DAT)/help $(DAT)/hh $(DAT)/cmdhelp \
$(DAT)/history $(DAT)/opthelp $(DAT)/wizhelp $(DAT)/dungeon \
$(DAT)/history $(DAT)/opthelp $(DAT)/wizhelp $(DAT)/dungeon $(DAT)/porthelp \
$(DAT)/license $(O)sp_lev.tag
$(subst /,\,cd $(DAT)) & \
echo data >dlb.lst & \
@@ -843,6 +848,7 @@ nhdat: $(U)dlb_main.exe $(DAT)/data $(DAT)/oracles $(OPTIONS_FILE) \
(if exist options echo options >>dlb.lst) & \
(if exist ttyoptions echo ttyoptions >>dlb.lst) & \
(if exist guioptions echo guioptions >>dlb.lst) & \
(if exist porthelp echo porthelp >>dlb.lst) & \
echo quest.dat >>dlb.lst & \
echo rumors >>dlb.lst & \
echo help >>dlb.lst & \