makefile 963 Bytes
Newer Older
1 2
#
#             LUFA Library
3
#     Copyright (C) Dean Camera, 2012.
4 5 6 7 8 9 10
#
#  dean [at] fourwalledcubicle [dot] com
#           www.lufa-lib.org
#

# Static anlysis of the entire LUFA source tree, using the free cross-platform "cppcheck" tool.

11 12
# Path to the LUFA library core
LUFA_PATH         = ../../LUFA/
13

14
CPPCHECK_EXCLUDES = FATFs/            \
15
                    PetiteFATFs/      \
16
                    uip/
17 18 19
CPPCHECK_INCLUDES = $(patsubst %/,%,$(LUFA_PATH))/CodeTemplates/   \
                    $(patsubst %/,%,$(LUFA_PATH))/../Projects/AVRISP-MKII/
CPPCHECK_PATH     = $(patsubst %/,%,$(LUFA_PATH))/..
20

21
all: begin cppcheck-config cppcheck end
22 23 24 25 26 27 28 29 30

begin:
	@echo Executing build test "StaticAnalysisTest".
	@echo

end:
	@echo Build test "StaticAnalysisTest" complete.
	@echo

31
%:
32
	
33 34 35 36

.PHONY: all begin end

# Include LUFA build script makefiles
37 38
include $(LUFA_PATH)/Build/lufa.core.in
include $(LUFA_PATH)/Build/lufa.cppcheck.in