Skip to content

Commit

Permalink
add make targets for cppcheck and clang-analyze static analyzers.
Browse files Browse the repository at this point in the history
  • Loading branch information
acooks committed Mar 3, 2015
1 parent 0db49f9 commit a588482
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ coverity-build: $(CLEANDIRS)
coverity-clean:
rm -rf cov-int jittertrap-coverity-build.lzma

cppcheck:
cppcheck --enable=style,warning,performance,portability src/ $(DEFINES)
#cppcheck ../deps/fossa/fossa.c $(DEFINES) $(FOSSA_DEFINES)

clang-analyze:
scan-build make src

clean: $(CLEANDIRS)
$(CLEANDIRS):
@echo "Cleaning $@"
Expand Down

0 comments on commit a588482

Please sign in to comment.