From 8ddd3dbe738dc12e7d9fe4d21fadd0117ffa11ba Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 14 Apr 2013 12:27:16 +1000 Subject: Add analyze target for clang --analyze. --- win32/makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3