diff options
-rw-r--r-- | gtk/makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/makefile b/gtk/makefile index c3ba18b73..d654f4c02 100644 --- a/gtk/makefile +++ b/gtk/makefile @@ -8,11 +8,8 @@ .SUFFIXES: .cxx .c .o .h .a ifdef CLANG -ifdef CLANG_ANALYZE -ANALYZE=--analyze -endif -CC = clang $(ANALYZE) -CCOMP = clang $(ANALYZE) +CC = clang +CCOMP = clang else CC = g++ CCOMP = gcc @@ -80,6 +77,9 @@ all: $(COMPLIB) clean: $(DEL) *.o $(COMPLIB) *.plist +analyze: + clang --analyze $(CONFIGFLAGS) $(CXXTFLAGS) $(CXXFLAGS) *.cxx ../src/*.cxx ../lexlib/*.cxx ../lexers/*.cxx + deps: $(CC) -MM $(CONFIGFLAGS) $(CXXTFLAGS) *.cxx ../src/*.cxx | sed -e 's/\/usr.* //' | grep [a-zA-Z] >deps.mak |