X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/6e29655b5473c6f8235b72654f9aae9cfeb9b078..0da99447d3e88e83f9977501bee56af5c7aa56c0:/BuildTests/StaticAnalysisTest/makefile diff --git a/BuildTests/StaticAnalysisTest/makefile b/BuildTests/StaticAnalysisTest/makefile index 834199084..a2626ec29 100644 --- a/BuildTests/StaticAnalysisTest/makefile +++ b/BuildTests/StaticAnalysisTest/makefile @@ -9,14 +9,15 @@ # 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_PATH = $(patsubst %/,%,$(LUFA_PATH))/.. +LUFA_PATH := ../../LUFA/ + +CPPCHECK_EXCLUDES := FATFs/ \ + PetiteFATFs/ \ + uip/ +CPPCHECK_INCLUDES := $(patsubst %/,%,$(LUFA_PATH))/CodeTemplates/ \ + $(patsubst %/,%,$(LUFA_PATH))/../Projects/AVRISP-MKII/ + +SRC := $(patsubst %/,%,$(LUFA_PATH))/.. all: begin cppcheck-config cppcheck end