aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2013-04-14 12:27:16 +1000
committernyamatongwe <unknown>2013-04-14 12:27:16 +1000
commit627c9b20e4e59fc503081defe219c0756d932fe8 (patch)
treeeed2a95381eb6ff9ebfafcf98036fd83b66827be
parentf4d6add0d2940256f31a30411d7c709d5331f3c8 (diff)
downloadscintilla-mirror-627c9b20e4e59fc503081defe219c0756d932fe8.tar.gz
Add analyze target for clang --analyze.
-rw-r--r--win32/makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/win32/makefile b/win32/makefile
index c71997c65..1e275d972 100644
--- a/win32/makefile
+++ b/win32/makefile
@@ -34,7 +34,10 @@ endif
ALL: $(COMPONENT) $(LEXCOMPONENT) $(LEXLIB) ScintillaWinS.o
clean:
- $(DEL) *.exe *.o *.obj *.dll *.res *.map
+ $(DEL) *.exe *.o *.obj *.dll *.res *.map *.plist
+
+analyze:
+ clang --analyze -D DISABLE_D2D $(CXXFLAGS) *.cxx ../src/*.cxx ../lexlib/*.cxx ../lexers/*.cxx
deps:
$(CC) -MM $(CXXFLAGS) *.cxx ../src/*.cxx ../lexlib/*.cxx ../lexers/*.cxx >deps.mak