From f8c192f59a55db99fe088588b161a207b237b288 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 18 Aug 2024 01:19:36 +0300 Subject: enable analyzer for triscv and fix issues --- triscv/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'triscv/Makefile') 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 -- cgit v1.3