Fix flip-ee DFU build target accidentally erasing the target FLASH memory space.
[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
18 CPPCHECK_INCLUDES := $(patsubst %/,%,$(LUFA_PATH))/CodeTemplates/ \
19 $(patsubst %/,%,$(LUFA_PATH))/../Projects/AVRISP-MKII/
20
21 CPPCHECK_FLAGS := -U TEMPLATE_FUNC_NAME
22
23 SRC := $(patsubst %/,%,$(LUFA_PATH))/..
24
25 all: begin cppcheck end
26
27 begin:
28 @echo Executing build test "StaticAnalysisTest".
29 @echo
30
31 end:
32 @echo Build test "StaticAnalysisTest" complete.
33 @echo
34
35 %:
36
37
38 .PHONY: all begin end
39
40 # Include LUFA build script makefiles
41 include $(LUFA_PATH)/Build/lufa_core.mk
42 include $(LUFA_PATH)/Build/lufa_cppcheck.mk