2012-02-28 21:07:52 +01:00
|
|
|
#
|
|
|
|
# LUFA Library
|
2012-05-27 16:42:30 +02:00
|
|
|
# Copyright (C) Dean Camera, 2012.
|
2012-02-28 21:07:52 +01:00
|
|
|
#
|
|
|
|
# dean [at] fourwalledcubicle [dot] com
|
|
|
|
# www.lufa-lib.org
|
|
|
|
#
|
|
|
|
|
|
|
|
# Static anlysis of the entire LUFA source tree, using the free cross-platform "cppcheck" tool.
|
|
|
|
|
2012-06-03 22:06:21 +02:00
|
|
|
# Path to the LUFA library core
|
|
|
|
LUFA_PATH = ../../LUFA/
|
2012-02-28 21:07:52 +01:00
|
|
|
|
2012-06-03 21:44:15 +02:00
|
|
|
CPPCHECK_EXCLUDES = FATFs/ \
|
2012-03-04 17:15:59 +01:00
|
|
|
PetiteFATFs/ \
|
2012-03-04 19:21:54 +01:00
|
|
|
uip/
|
2012-06-03 22:06:21 +02:00
|
|
|
CPPCHECK_INCLUDES = $(patsubst %/,%,$(LUFA_PATH))/CodeTemplates/ \
|
|
|
|
$(patsubst %/,%,$(LUFA_PATH))/../Projects/AVRISP-MKII/
|
|
|
|
CPPCHECK_PATH = $(patsubst %/,%,$(LUFA_PATH))/..
|
2012-02-28 21:07:52 +01:00
|
|
|
|
2012-06-03 21:44:15 +02:00
|
|
|
all: begin cppcheck-config cppcheck end
|
2012-03-04 17:15:59 +01:00
|
|
|
|
|
|
|
begin:
|
|
|
|
@echo Executing build test "StaticAnalysisTest".
|
|
|
|
@echo
|
|
|
|
|
|
|
|
end:
|
|
|
|
@echo Build test "StaticAnalysisTest" complete.
|
|
|
|
@echo
|
|
|
|
|
2012-03-09 22:28:44 +01:00
|
|
|
%:
|
2012-06-05 20:35:05 +02:00
|
|
|
|
2012-06-03 21:44:15 +02:00
|
|
|
|
|
|
|
.PHONY: all begin end
|
|
|
|
|
|
|
|
# Include LUFA build script makefiles
|
2012-06-03 22:06:21 +02:00
|
|
|
include $(LUFA_PATH)/Build/lufa.core.in
|
|
|
|
include $(LUFA_PATH)/Build/lufa.cppcheck.in
|