]> thyrsus.com Git - tetrix.git/commitdiff
Game passes cppcheck.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 5 Apr 2015 10:54:01 +0000 (06:54 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 5 Apr 2015 10:54:01 +0000 (06:54 -0400)
Makefile

index 51ff78d4b6fbd8c84595e613460e775114a2e5fe..46d006798f5ec38db51e296e5fe88aee08aeb105 100644 (file)
--- 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