# NetHack Makefile.
-# NetHack 3.7 Makefile.src $NHDT-Date: 1600904413 2020/09/23 23:40:13 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.108 $
+# NetHack 3.7 Makefile.src $NHDT-Date: 1601854487 2020/10/04 23:34:47 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.111 $
# Copyright (c) 2018 by Pasi Kallinen
# NetHack may be freely redistributed. See license for details.
# RANDOBJ = $(TARGETPFX)random.o
RANDOBJ =
-
# used by `make depend' to reconstruct this Makefile; you shouldn't need this
-AWK = nawk
+# at all but can override with 'make AWK=nawk' or 'make AWK=gawk' if necessary
+AWK = awk
# when using 'makedefs -v', also force dat/gitinfo.txt to be up to date;
# changing this to 0 will change the behavior to only make that file if
AT = $(AT_V$(QUIETCC))
# Verbosity, end
+# verbosity-adjacent; these will already have 'real' values if hints have
+# set up cross-compiling, in which case these assignments will be no-ops
+PREGAME=@true
+CLEANMORE=@true
+PACKAGE=@true
+
+
MAKEDEFS = ../util/makedefs
# -lm required by lua
@echo ""
pregame:
- true; $(PREGAME)
+ $(PREGAME)
$(GAME): pregame $(SYSTEM)
@echo "$(GAME) is up to date."
clean:
-rm -f *.o $(HACK_H) $(CONFIG_H)
- true; $(CLEANMORE)
+ $(CLEANMORE)
spotless: clean
-rm -f a.out core $(GAMEBIN) Sys*
-rm -f ../win/gnome/gn_rip.h
package:
- true; $(PACKAGE)
+ $(PACKAGE)
@echo packaging complete.
depend: ../sys/unix/depend.awk \