diff options
| -rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -2,6 +2,10 @@ CC_SANA ?= clang CFLAGS_SANA ?= --analyze -Xclang -analyzer-output=text +# Security analysis +CC_CANA ?= flawfinder +CFLAGS_CANA ?= --error-level=3 + .PHONY: all all: build @@ -21,6 +25,10 @@ tests: static-analysis: $(CC_SANA) $(CFLAGS_SANA) ./src/* +.PHONY: security-analysis +security-analysis: + $(CC_CANA) $(CFLAGS_CANA) ./src + .PHONY: clean clean: cd ./src/ && $(MAKE) clean |
