Skip to content
Snippets Groups Projects
Commit 04902bea authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Added cppcheck

parent 88d90108
No related branches found
No related tags found
No related merge requests found
...@@ -18,9 +18,15 @@ clean: $(SUBDIRSCLEAN) ...@@ -18,9 +18,15 @@ clean: $(SUBDIRSCLEAN)
$(SUBDIRSCLEAN): %.clean: $(SUBDIRSCLEAN): %.clean:
$(MAKE) -C $* clean $(MAKE) -C $* clean
.PHONY: cppcheck
cppcheck:
cppcheck --std=c++03 --std=posix -j 4 --platform=unix64 -q --enable=portability,performance */*.{h,cpp}
.PHONY: help .PHONY: help
help: help:
@echo "Available targets are" @echo "Available targets are"
@echo " all: compile everything (default)" @echo " all: compile everything (default)"
@echo " clean: clean everything" @echo " clean: clean everything"
@echo " cppcheck: check source (requires cppcheck installed)"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment