aboutsummaryrefslogtreecommitdiff
path: root/tasm/Makefile
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-08-18 01:15:01 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-08-18 01:15:01 +0300
commita44c59b6ab7b45bd52408bb67c17b6aa09aefeef (patch)
treea102a0d1738403d6176b9a4b266e9fbb4c5d5ef1 /tasm/Makefile
parent4f0647740a3353781eab29a34ab1e0c16a0551ca (diff)
downloadtri-a44c59b6ab7b45bd52408bb67c17b6aa09aefeef.tar.gz
tri-a44c59b6ab7b45bd52408bb67c17b6aa09aefeef.zip
enable analyzer for tasm, fix some reported issues
Diffstat (limited to 'tasm/Makefile')
-rw-r--r--tasm/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tasm/Makefile b/tasm/Makefile
index d2a1e69..2a28c21 100644
--- a/tasm/Makefile
+++ b/tasm/Makefile
@@ -20,6 +20,10 @@ setup:
@echo -n > deps.mk
@./scripts/gen-deps -p TASM -c COMPILE_TASM -b tasm "${TASM_SOURCES}"
+.PHONY: analyze
+analyze: setup
+ CC='gcc -fanalyzer' SKIP_ANALYZER='-fno-analyzer' $(MAKE) -f scripts/makefile
+
CLEANUP := build deps.mk tasm
CLEANUP_CMD :=
TASM_SOURCES := ../core/bits.c