diff options
author | That-Canadian <poole.chris.11@gmail.com> | 2017-08-03 10:52:30 -0400 |
---|---|---|
committer | That-Canadian <poole.chris.11@gmail.com> | 2017-08-03 10:52:30 -0400 |
commit | c33434c0d64dd7cbd5f6371c7cb4ac5e05924944 (patch) | |
tree | 59fe34d95089a59fa4e615fd995c81d274147bba /lib/lufa/BuildTests/StaticAnalysisTest/makefile | |
parent | db5bb7dbbfa2d2eb4f41aa4c768c3c5c8d73f563 (diff) | |
parent | 07ba06d0b6e516bcfa4cbccbed9cfd8dc131072a (diff) | |
download | firmware-c33434c0d64dd7cbd5f6371c7cb4ac5e05924944.tar.gz firmware-c33434c0d64dd7cbd5f6371c7cb4ac5e05924944.tar.bz2 firmware-c33434c0d64dd7cbd5f6371c7cb4ac5e05924944.zip |
Merge branch 'master' into eco-keyboard
Diffstat (limited to 'lib/lufa/BuildTests/StaticAnalysisTest/makefile')
-rw-r--r-- | lib/lufa/BuildTests/StaticAnalysisTest/makefile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/lib/lufa/BuildTests/StaticAnalysisTest/makefile b/lib/lufa/BuildTests/StaticAnalysisTest/makefile new file mode 100644 index 000000000..0041234d1 --- /dev/null +++ b/lib/lufa/BuildTests/StaticAnalysisTest/makefile @@ -0,0 +1,47 @@ +# +# LUFA Library +# Copyright (C) Dean Camera, 2017. +# +# dean [at] fourwalledcubicle [dot] com +# www.lufa-lib.org +# + +# Static anlysis of the entire LUFA source tree, using the free cross-platform "cppcheck" tool. + +# Path to the LUFA library core +LUFA_PATH := ../../LUFA/ + +CPPCHECK_EXCLUDES := FATFs/ \ + PetiteFATFs/ \ + uip/ + +CPPCHECK_INCLUDES := $(patsubst %/,%,$(LUFA_PATH))/CodeTemplates/ \ + $(patsubst %/,%,$(LUFA_PATH))/../Projects/AVRISP-MKII/ + +CPPCHECK_FLAGS := -U TEMPLATE_FUNC_NAME -U __GNUC__ -U __DOXYGEN__ + +CPPCHECK_SUPPRESS := variableScope missingInclude unusedFunction + +SRC := $(patsubst %/,%,$(LUFA_PATH))/.. + +# Build test cannot be run with multiple parallel jobs +.NOTPARALLEL: + +all: begin cppcheck end + +begin: + @echo Executing build test "StaticAnalysisTest". + @echo + +end: + @echo Build test "StaticAnalysisTest" complete. + @echo + +%: + +.PHONY: all begin end + +# Include common DMBS build system modules +DMBS_PATH ?= $(LUFA_PATH)/Build/DMBS/DMBS +include $(DMBS_PATH)/core.mk +include $(DMBS_PATH)/cppcheck.mk |