summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 579f61b..777b82b 100644
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,10 @@ ifeq ($(config),sanitize)
endif
endif
+ifeq ($(config),analyze)
+ CXXFLAGS+=--analyze
+endif
+
ifneq ($(defines),standard)
COMMA=,
CXXFLAGS+=-D $(subst $(COMMA), -D ,$(defines))