Correct BuildTest makefiles to use LUFA_PATH rather than LUFA_ROOT_PATH.
[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 # Path to the LUFA library core
12 LUFA_PATH = ../../LUFA/
13
14 CPPCHECK_EXCLUDES = FATFs/ \
15 PetiteFATFs/ \
16 uip/
17 CPPCHECK_INCLUDES = $(patsubst %/,%,$(LUFA_PATH))/CodeTemplates/ \
18 $(patsubst %/,%,$(LUFA_PATH))/../Projects/AVRISP-MKII/
19 CPPCHECK_PATH = $(patsubst %/,%,$(LUFA_PATH))/..
20
21 all: begin cppcheck-config cppcheck end
22
23 begin:
24 @echo Executing build test "StaticAnalysisTest".
25 @echo
26
27 end:
28 @echo Build test "StaticAnalysisTest" complete.
29 @echo
30
31 %:
32
33 .PHONY: all begin end
34
35 # Include LUFA build script makefiles
36 include $(LUFA_PATH)/Build/lufa.core.in
37 include $(LUFA_PATH)/Build/lufa.cppcheck.in