#
# Makefile for `Hunt the Wumpus' and `Superhack' games
#
-VERS=1.8
+#
+# SPDX-FileCopyrightText: (C) Eric S. Raymond <esr@thyrsus.com>
+# SPDX-License-Identifier: BSD-2-Clause
+VERS=1.9
prefix?=/usr
rm $(prefix)/bin/wumpus $(prefix)/bin/superhack
rm $(prefix)/share/man/man6/wumpus.6
+reflow:
+ @clang-format --style="{IndentWidth: 8, UseTab: ForIndentation}" -i $$(find . -name "*.[ch]")
+
CPPCHECKOPTS =
cppcheck:
cppcheck -DREVISION=$(VERS) $(CPPCHECKOPTS) wumpus.c