3 # Copyright (C) Dean Camera, 2012.
5 # dean [at] fourwalledcubicle [dot] com
9 # Static anlysis of the entire LUFA source tree, using the free cross-platform "cppcheck" tool.
11 LUFA_ROOT_PATH = ../..
13 CPPCHECK_EXCLUDES = FATFs/ \
16 CPPCHECK_INCLUDES = $(LUFA_ROOT_PATH)/LUFA/CodeTemplates/ \
17 $(LUFA_ROOT_PATH)/Projects/AVRISP-MKII/
18 CPPCHECK_PATH = $(LUFA_ROOT_PATH)
20 all: begin cppcheck-config cppcheck end
23 @echo Executing build test "StaticAnalysisTest".
27 @echo Build test "StaticAnalysisTest" complete.
34 # Include LUFA build script makefiles
35 include $(LUFA_ROOT_PATH)/LUFA/Build/lufa.core.in
36 include $(LUFA_ROOT_PATH)/LUFA/Build/lufa.cppcheck.in