Index: library/mongodb/Makefile.in =================================================================== diff -u -r0aeccfecef90977dbe8f105c4e808f7f5313486f -r6252b8e8f27440a23844e4695f76c92715890bd8 --- library/mongodb/Makefile.in (.../Makefile.in) (revision 0aeccfecef90977dbe8f105c4e808f7f5313486f) +++ library/mongodb/Makefile.in (.../Makefile.in) (revision 6252b8e8f27440a23844e4695f76c92715890bd8) @@ -157,6 +157,8 @@ # Start of user-definable TARGETS section #======================================================================== +CPPCHECK = cppcheck + #======================================================================== # TEA TARGETS. Please note that the "libraries:" target refers to platform # independent files, and the "binaries:" target inclues executable programs and @@ -178,6 +180,9 @@ libraries: +cppcheck: + $(CPPCHECK) --enable=all *.c $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) \ + -DNDEBUG=1 -I/usr/include -D__x86_64__ doc: @echo "If you have documentation to create, place the commands to" @echo "build the docs in the 'doc:' target. For example:"