aboutsummaryrefslogtreecommitdiff
path: root/triscv/Makefile
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-08-18 01:19:36 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-08-18 01:19:36 +0300
commitf8c192f59a55db99fe088588b161a207b237b288 (patch)
tree2b4d5a3679e02069ae9d8edb0d09edd9cd278f0d /triscv/Makefile
parentaa0665af307420e493b09af9a97fbd36fd53ef4b (diff)
downloadtri-master.tar.gz
tri-master.zip
enable analyzer for triscv and fix issuesHEADmaster
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