Switch StaticAnalysisTest build test to use the new build system CPPCHECK module...
[pub/USBasp.git] / BuildTests / StaticAnalysisTest / makefile
1 #
2 # LUFA Library
3 # Copyright (C) Dean Camera, 2012.
4 #
5 # dean [at] fourwalledcubicle [dot] com
6 # www.lufa-lib.org
7 #
8
9 # Static anlysis of the entire LUFA source tree, using the free cross-platform "cppcheck" tool.
10
11 LUFA_ROOT_PATH = ../..
12
13 CPPCHECK_EXCLUDES = FATFs/ \
14 PetiteFATFs/ \
15 uip/
16 CPPCHECK_INCLUDES = $(LUFA_ROOT_PATH)/LUFA/CodeTemplates/ \
17 $(LUFA_ROOT_PATH)/Projects/AVRISP-MKII/
18 CPPCHECK_PATH = $(LUFA_ROOT_PATH)
19
20 all: begin cppcheck-config cppcheck end
21
22 begin:
23 @echo Executing build test "StaticAnalysisTest".
24 @echo
25
26 end:
27 @echo Build test "StaticAnalysisTest" complete.
28 @echo
29
30 %:
31
32 .PHONY: all begin end
33
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