diff options
| author | nyamatongwe <unknown> | 2013-02-05 17:23:09 +1100 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2013-02-05 17:23:09 +1100 | 
| commit | f335350b127a2da1be979f4f5b2c0593513f1cdd (patch) | |
| tree | 9b32f7f4930d28286e4a099385750df2306eb5cf | |
| parent | b5ba4e4a44d0293dc5b8348105cf4601a0203af1 (diff) | |
| download | scintilla-mirror-f335350b127a2da1be979f4f5b2c0593513f1cdd.tar.gz | |
To run Clang analyzer, use 'analyze' target instead of defining 'CLANG_ANALYZE'.
This prevents later failures with linking.
| -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 | 
