From: Eric S. Raymond Date: Sun, 5 Apr 2015 10:54:01 +0000 (-0400) Subject: Game passes cppcheck. X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=716361666c389624fca9986ad18fb697861db3c3;p=tetrix.git Game passes cppcheck. --- diff --git a/Makefile b/Makefile index 51ff78d..46d0067 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,10 @@ clean: rm -f tetrix *.o tetrix tetrix.6 tetrix-*.rpm tetrix-*.tar.gz *~ rm -f tetrix.html MANIFEST +CPPCHECKOPTS = +cppcheck: + cppcheck $(CPPCHECKOPTS) tet.h $(OBJS:.o=.c) + SOURCES = README COPYING NEWS control tetrix.xml Makefile tet.h $(OBJS:.o=.c) tetrix-$(VERS).tar.gz: $(SOURCES) tetrix.6