summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-10-18 18:00:17 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-10-18 18:00:17 -0700
commitaf3cd2e7b6debf9f91d03cf44508308f0ae806fa (patch)
tree96f62fd309e7ea6ac8934f4e6caf0dcd3b90302b
parentd27a64338ef3b658bd6a6963bc87349b45dae8aa (diff)
Add config=analyze
-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))