Skip to content

Commit

Permalink
Add 'infer' make target
Browse files Browse the repository at this point in the history
  • Loading branch information
attipaci committed Dec 1, 2024
1 parent 49a5118 commit 6fb653d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ clean-local:
# pristine state
.PHONY: distclean-local
distclean-local: clean-local
rm -rf bin lib apidoc
rm -rf bin lib apidoc infer-out

# Remove intermediate files (general)
.PHONY: clean
Expand All @@ -55,6 +55,11 @@ analyze:
@echo " [analyze]"
@cppcheck $(CPPFLAGS) $(CHECKOPTS) $(SRC)

# Static code analysis viacat Facebook's infer
.PHONY: infer
infer: CC := infer run -- $(CC)
infer: distclean shared

# Doxygen documentation (HTML and man pages) under apidocs/
.PHONY: dox
dox: README.md Doxyfile apidoc $(SRC) $(INC)
Expand Down

0 comments on commit 6fb653d

Please sign in to comment.