aboutsummaryrefslogtreecommitdiff
path: root/triscv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'triscv/Makefile')
-rw-r--r--triscv/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/triscv/Makefile b/triscv/Makefile
index 103a1a2..1588384 100644
--- a/triscv/Makefile
+++ b/triscv/Makefile
@@ -20,6 +20,10 @@ setup:
@echo -n > deps.mk
@./scripts/gen-deps -p TRISCV -c COMPILE_TRISCV -b triscv "${TRISCV_SOURCES}"
+.PHONY: analyze
+analyze: setup
+ CC='gcc -fanalyzer' SKIP_ANALYZER='-fno-analyzer' $(MAKE) -f scripts/makefile
+
CLEANUP := build deps.mk triscv
CLEANUP_CMD :=
TRISCV_SOURCES := ../utf9/utf9.c ../core/bits.c