mirror_zfs/config/CppCheck.am

12 lines
295 B
Plaintext
Raw Normal View History

2021-01-22 23:54:34 +03:00
#
# Default rules for running cppcheck against the user space components.
2021-01-22 23:54:34 +03:00
#
PHONY += cppcheck
CPPCHECKFLAGS = --std=c99 --quiet --max-configs=1 --error-exitcode=2
CPPCHECKFLAGS += --inline-suppr -U_KERNEL
cppcheck:
$(CPPCHECK) -j$(CPU_COUNT) $(CPPCHECKFLAGS) $(DEFAULT_INCLUDES) $(SOURCES)