make clang
This commit is contained in:
parent
bf7b486ffe
commit
7e4478f12f
1 changed files with 14 additions and 0 deletions
14
mk/re.mk
14
mk/re.mk
|
@ -727,6 +727,20 @@ splint-test:
|
|||
@splint $(SPLINT_LIBS) $(SPLINT_OPTIONS) test.c
|
||||
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# Clang section
|
||||
#
|
||||
|
||||
CLANG_OPTIONS := -I$(LIBRE_INC) $(CFLAGS)
|
||||
CLANG_IGNORE :=
|
||||
CLANG_SRCS += $(filter-out $(CLANG_IGNORE), $(patsubst %,src/%,$(SRCS)))
|
||||
|
||||
clang:
|
||||
@clang --analyze $(CLANG_OPTIONS) $(CLANG_SRCS)
|
||||
@rm -f *.plist
|
||||
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# Documentation section
|
||||
|
|
Loading…
Add table
Reference in a new issue