aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-08-17 20:47:33 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-08-17 20:47:33 +0300
commit395efb9c8a0a0160a7b95769e9484bae5548bbde (patch)
treea5b4dc24dd3a2097d055b66b0cde8e23832802eb /Makefile
parent2023a7b2d9656f80b00de81453348c0a66f200f7 (diff)
downloadek-395efb9c8a0a0160a7b95769e9484bae5548bbde.tar.gz
ek-395efb9c8a0a0160a7b95769e9484bae5548bbde.zip
add analyzer and fix some reported issues
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9bd13a7..1a11df8 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,11 @@ all: setup
.DEFAULT: setup
$(MAKE) -f scripts/makefile $<
-.PHONY:
+.PHONY: analyze
+analyze: setup
+ CC='gcc -fanalyzer' $(MAKE)
+
+.PHONY: setup
setup:
@echo -n > deps.mk
@./scripts/gen-deps -p EK -c COMPILE_EK -b ek "$(EK_SOURCES)"