X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/2351c46f0b4669e9406927e59070c92cf85a7468..a5abb0eb3f368f0f090ebfd7f9fc22e94466f31e:/BuildTests/StaticAnalysisTest/makefile diff --git a/BuildTests/StaticAnalysisTest/makefile b/BuildTests/StaticAnalysisTest/makefile index 6562a9636..6e6ed3c36 100644 --- a/BuildTests/StaticAnalysisTest/makefile +++ b/BuildTests/StaticAnalysisTest/makefile @@ -9,17 +9,17 @@ # Static anlysis of the entire LUFA source tree, using the free cross-platform "cppcheck" tool. # Path to the LUFA library core -LUFA_PATH = ../../LUFA/ +LUFA_PATH := ../../LUFA/ -CPPCHECK_EXCLUDES = FATFs/ \ - PetiteFATFs/ \ - uip/ -CPPCHECK_INCLUDES = $(patsubst %/,%,$(LUFA_PATH))/CodeTemplates/ \ - $(patsubst %/,%,$(LUFA_PATH))/../Projects/AVRISP-MKII/ +CPPCHECK_EXCLUDES := FATFs/ \ + PetiteFATFs/ \ + uip/ +CPPCHECK_INCLUDES := $(patsubst %/,%,$(LUFA_PATH))/CodeTemplates/ \ + $(patsubst %/,%,$(LUFA_PATH))/../Projects/AVRISP-MKII/ -SRC = $(patsubst %/,%,$(LUFA_PATH))/.. +SRC := $(patsubst %/,%,$(LUFA_PATH))/.. -all: begin cppcheck-config cppcheck end +all: begin cppcheck end begin: @echo Executing build test "StaticAnalysisTest". @@ -35,5 +35,5 @@ end: .PHONY: all begin end # Include LUFA build script makefiles -include $(LUFA_PATH)/Build/lufa.core.in -include $(LUFA_PATH)/Build/lufa.cppcheck.in \ No newline at end of file +include $(LUFA_PATH)/Build/lufa_core.mk +include $(LUFA_PATH)/Build/lufa_cppcheck.mk \ No newline at end of file