pass NETHACK_VERSION to package subproject

This commit is contained in:
nhmall
2024-04-01 09:24:09 -04:00
parent 9ba045b264
commit 459f5f77c1
3 changed files with 12 additions and 4 deletions
+6
View File
@@ -2,7 +2,13 @@
#==============================================================================
#
# The version of the game this Makefile was designed for
!IFNDEF NETHACK_VERSION
NETHACK_VERSION="3.7.0"
!MESSAGE NETHACK_VERSION set to $(NETHACK_VERSION).
!ELSE
!MESSAGE NETHACK_VERSION set to $(NETHACK_VERSION) by caller.
!ENDIF
# A brief variation for use in macros
NHV=$(NETHACK_VERSION:.=)