adjust Makefile.mingw32 for 3.7 date and time stamping

NetHack 3.7 stores timestamp information, as well as github
commit hashs information if available, internally by compiling
date.c. It is important to ensure that date.c is always
recompiled after any other NetHack source files are compiled.
This commit is contained in:
nhmall
2022-02-05 21:34:55 -05:00
parent 05f3e6efd3
commit 8aa29f8a08
2 changed files with 32 additions and 7 deletions

View File

@@ -1184,9 +1184,9 @@ $(O)date.o: $(HACKINCL) $(HACKSRC) $(HACKOBJ) $(ALLOBJ)
!ENDIF
#
# date.h should be remade every time any of the source or include
# files is modified.
#
# date.h is not used with NetHack 3.7
# onames.h is not used with NetHack 3.7
# pm.h is not used with NetHack 3.7
$(INCL)\date.h $(OPTIONS_FILE) : $(U)makedefs.exe
$(U)makedefs -v