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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user