X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=Makefile;h=a10f41a572dd83c79d3a54ba5b0b107979e19c00;hb=cb769b76c094d53c1423af9d4f6d1eb84fbfb0e5;hp=e9a67e14a6ffa59e39c9a3dc8d97424c2cb88f16;hpb=c7c254cd65138c2371678823b08df68c97dc9bd7;p=wumpus.git diff --git a/Makefile b/Makefile index e9a67e1..a10f41a 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,9 @@ uninstall: 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