]> git.gir.st - tmk_keyboard.git/blob - tmk_core/protocol/lufa/LUFA-git/BuildTests/StaticAnalysisTest/makefile
Merge commit '20b787fc1284176834cbe7ca2134e4b36bec5828'
[tmk_keyboard.git] / tmk_core / protocol / lufa / LUFA-git / BuildTests / StaticAnalysisTest / makefile
1 #
2 # LUFA Library
3 # Copyright (C) Dean Camera, 2014.
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 # Path to the LUFA library core
12 LUFA_PATH := ../../LUFA/
13
14 CPPCHECK_EXCLUDES := FATFs/ \
15 PetiteFATFs/ \
16 uip/
17
18 CPPCHECK_INCLUDES := $(patsubst %/,%,$(LUFA_PATH))/CodeTemplates/ \
19 $(patsubst %/,%,$(LUFA_PATH))/../Projects/AVRISP-MKII/
20
21 CPPCHECK_FLAGS := -U TEMPLATE_FUNC_NAME -U __GNUC__ -U __DOXYGEN__
22
23 CPPCHECK_SUPPRESS := variableScope missingInclude unusedFunction
24
25 SRC := $(patsubst %/,%,$(LUFA_PATH))/..
26
27 # Build test cannot be run with multiple parallel jobs
28 .NOTPARALLEL:
29
30 all: begin cppcheck end
31
32 begin:
33 @echo Executing build test "StaticAnalysisTest".
34 @echo
35
36 end:
37 @echo Build test "StaticAnalysisTest" complete.
38 @echo
39
40 %:
41
42
43 .PHONY: all begin end
44
45 # Include LUFA build script makefiles
46 include $(LUFA_PATH)/Build/lufa_core.mk
47 include $(LUFA_PATH)/Build/lufa_cppcheck.mk
Imprint / Impressum